- Add a file
newExample.we
copied from template with UI Gallery (recommend). - In index.we, add an item
{name: 'newExample', title: 'New Example'}
for arraydata.cases
- File name is dash separated words, each word is lower case, like
index.we
,ui-button.we
- DO NOT use builtin components name as file name, it may be failed ro run.
Inspired by Bootstrap.
We import a simple UI Gallery for a consistent UI style. See UI Gallery Example for details.
Reference:
-
Attributes:
type
, default | primary | success | info | warning | danger | linksize
, large | middle | smallvalue
disabled
, false | true
-
Event:
click
-
Example:
-
Attributes:
type
, default | primary | success | info | warning | dangertitle
border
, number
-
Example: