Class: fixed
position fixed (兼容IE6)
View source: fixed.js.
Arguments:
vui.fixed (obj, options)
- obj - (Object) 主对象
- options - (Object) 组件配置
- options.top - (Number) null top
- options.bottom - (Number) null bottom
- options.left - (Number) null left
- options.right - (Number) null right
- options.zIndex - (Number) null right
- options.place - (Number) null 方位选择:topLeft,topRight,topCenter,bottomLeft,bottomRight,bottomCenter
Example:
vui.fixed($('#test'),{place:'bottomRight'}) vui.fixed($('#test'),{ top:1, left:1 })
See Also:
- top,bottom,left,right需要指定两项并且和place参数不能同时设置