cube-ui
Version:
A fantastic mobile ui lib implement by Vue
25 lines (24 loc) • 2.35 kB
JSON
{
"cube-button/type": { "description": "cube-button type: 'button' | 'submit'", "type": "string", "options": ["button", "submit"] },
"cube-checker/type": { "description": "cube-checker type: 'checkbox' | 'radio'", "type": "string", "defalut": "checkbox", "options": ["checkbox", "radio"] },
"cube-input/type": { "description": "cube-input type: 'text' | 'number' | 'password' | 'date'", "type": "string", "options": ["text" , "number" , "password" , "date"] },
"disabled": { "type": "boolean" },
"cube-button/active": { "type": "boolean" },
"cube-swipe-item/active": { "type": "method" },
"icon": { "type": "string", "description": "the class of icon" },
"light": { "type": "boolean", "description": "light style" },
"inline": { "type": "boolean", "description": "inline style" },
"outline": { "type": "boolean", "description": "outline style" },
"primary": { "type": "boolean", "description": "primary style" },
"size": { "type": "number" },
"cube-tip/direction": { "type": "string", "description": "the direction of the small triangle, options: top | bottom | left | right", "options": ["top", "bottom", "left", "right"] },
"cube-scroll/direction": { "type": "string", "description": "slide direction, options: horizontal | vertical", "options": ["horizontal", "vertical"] },
"cube-slide/direction": { "type": "string", "description": "slide direction, options: horizontal | vertical", "options": ["horizontal", "vertical"] },
"cube-scroll-nav-bar/direction": { "type": "string", "description": "slide direction, options: horizontal | vertical", "options": ["horizontal", "vertical"] },
"cube-tip/offsetLeft": { "type": "number", "description": "the distance between the small triangle and the left part of x axis" },
"cube-tip/offsetTop": { "type": "number", "description": "the distance between the small triangle and the origin of y axis" },
"cube-tip/offsetRight": { "type": "number", "description": "the distance between the small triangle and the right part of x axis" },
"cube-tip/offsetBottom": { "type": "number", "description": "the distance between the small triangle and the bottom part of y axis" },
"cube-toolbar/actions": { "type": "array", "description": "actions description, type array" },
"cube-toolbar/more-actions": { "type": "array", "description": "more actions, type array" }
}