un-float-panel.easycom.json 1.59 KB
{
  "name": "un-float-panel",
  "description": "可拖拽的浮动面板,支持上下拖动调整位置,常用于底部弹出的操作面板",
  "example": "<un-float-panel :height=\"800\" :anchors=\"[0, 300]\" overlay></un-float-panel>",
  "tutorial": "uview.d3u.cn",
  "attributes": [
    {
      "name": "[event]change",
      "description": "面板位置变化时触发",
      "type": "Function"
    },
    {
      "name": "[event]move",
      "description": "",
      "type": "Event"
    },
    {
      "name": "height",
      "type": "number",
      "values": []
    },
    {
      "name": "anchors",
      "type": "{}",
      "values": []
    },
    {
      "name": "safeAreaInsetBottom",
      "type": "boolean",
      "values": []
    },
    {
      "name": "contentDraggable",
      "type": "boolean",
      "values": []
    },
    {
      "name": "overlay",
      "type": "boolean",
      "values": []
    },
    {
      "name": "overlayOpacity",
      "type": "string | number",
      "values": []
    },
    {
      "name": "closeOnClickOverlay",
      "type": "boolean",
      "values": []
    },
    {
      "name": "overlayFade",
      "type": "boolean",
      "values": []
    },
    {
      "name": "bgColor",
      "type": "string",
      "values": []
    },
    {
      "name": "duration",
      "type": "string | number",
      "values": []
    },
    {
      "name": "defaultAnchor",
      "type": "number",
      "values": []
    },
    {
      "name": "zIndex",
      "type": "number",
      "values": []
    },
    {
      "name": "scrollable",
      "type": "boolean",
      "values": []
    }
  ]
}