控件使用文档

飞道科技

相对于浏览器窗口定位的盒子

Tag

<fd-w000012></fd-w000012>

Attributes

top

容器距离浏览器顶部的距离,默认的固定单位为 px

例:

<fd-w000012 top=20></fd-w000012>

<fd-w000012 top="20"></fd-w000012>

left

容器距浏览器左侧是距离,默认的固定单位为 px 用法和 top 相同

容器距浏览器左侧是距离,默认的固定单位为 px 用法和 top 相同

bottom

容器距浏览器下侧距离,默认的固定单位为 px 用法和 top 相同

Example

html

<fd-w000012 style="width:200px;height:100%;background-color:red;" top=20 left=30>
   左侧菜单
</fd-w000012>

js

require(['fd-w000012']);