# mt-panel
Maptalks control.Panel
# Demo
Copy
# Props
# options 支持 mt-panel 的全部属性
WARNING
属性优先级: defaultProps < options < 实际传入的 props
| 属性名 | 描述 | 类型 | 默认值 | 备注 |
|---|---|---|---|---|
| position | zoom 放置的位置 | String | Object | top-left | |
| draggable | 是否可拖拽 | Boolean | true | |
| custom | 内容是否可定制 | Boolean | false | |
| content | panel内容 | String | Object | null | |
| closeButton | 是否显示关闭按钮 | Boolean | true | |
| options | - | Object | {} |
# Events
| 事件名 | 参数 | 说明 |
|---|
# Methods
| 方法名 | 参数 | 返回值 | 说明 |
|---|
# slots
| slot名字 | 说明 |
|---|---|
| default | panel 内容 |