1+ < div >
2+ < h4 > Click event</ h4 >
3+ < ui-button v-on:click ="updateStatus('Default button clicked') "> Default</ ui-button >
4+ < p > {{status}}</ p >
5+
6+ < h4 > Icons</ h4 >
7+ < ui-button icon ="cloud "> Button with icon</ ui-button >
8+ < ui-button icon ="cloud " icon-pos ="right "> Button with icon</ ui-button >
9+
10+ < h4 > Animations</ h4 >
11+ < ui-button > Hello
12+ < div slot ="hidden "> There!</ div >
13+ </ ui-button >
14+ < ui-button animation ="fade "> Hello
15+ < div slot ="hidden "> There!</ div >
16+ </ ui-button >
17+
18+ < h4 > Enable/disable</ h4 >
19+ < ui-button :disabled ="disabled " v-on:click ="setDisable "> Click to disable</ ui-button >
20+ < ui-checkbox v-model ="disabled "> Uncheck to enable</ ui-checkbox >
21+
22+ < h4 > Sizes</ h4 >
23+ < ui-button size ="mini "> Mini</ ui-button >
24+ < ui-button size ="tiny "> Tiny</ ui-button >
25+ < ui-button size ="small "> Small</ ui-button >
26+ < ui-button size ="medium "> Medium</ ui-button >
27+ < ui-button size ="large "> Large</ ui-button >
28+ < ui-button size ="big "> Big</ ui-button >
29+ < ui-button size ="huge "> Huge</ ui-button >
30+ < ui-button size ="massive "> Massive</ ui-button >
31+
32+ < h4 > Float</ h4 >
33+ < div class ="clearfix ">
34+ < ui-button float ="left "> Left</ ui-button >
35+ < ui-button float ="right "> Right</ ui-button >
36+ </ div >
37+
38+ < h4 > Color</ h4 >
39+ < ui-button color ="red "> Red</ ui-button >
40+ < ui-button color ="orange "> Orange</ ui-button >
41+ < ui-button color ="yellow "> Yellow</ ui-button >
42+ < ui-button color ="olive "> Olive</ ui-button >
43+ < ui-button color ="green "> Green</ ui-button >
44+ < ui-button color ="teal "> Teal</ ui-button >
45+ < ui-button color ="blue "> Blue</ ui-button >
46+ < ui-button color ="violet "> Violet</ ui-button >
47+ < ui-button color ="purple "> Purple</ ui-button >
48+ < ui-button color ="pink "> Pink</ ui-button >
49+ < ui-button color ="brown "> Brown</ ui-button >
50+ < ui-button color ="grey "> Grey</ ui-button >
51+ < ui-button color ="black "> Black</ ui-button >
52+
53+ < h4 > Loading</ h4 >
54+ < ui-button id ="btn-loading " @click ="loading "> Click me</ ui-button >
55+ </ div >
0 commit comments