This repository was archived by the owner on Dec 11, 2021. It is now read-only.
File tree 2 files changed +52
-1
lines changed
2 files changed +52
-1
lines changed Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ css : [ "//ajax.googleapis.com/ajax/libs/dojo/1.10.3/dijit/themes/claro/claro.css" ] ,
3
+ button : {
4
+ generator : function ( options ) {
5
+ var button = "<span class='claro'><span class='dijit dijitReset " +
6
+ "dijitInline dijitButton'>" +
7
+ "<span class='dijitReset dijitInline dijitButtonNode'>" +
8
+ "<span class='dijitReset dijitStretch dijitButtonContents'>" +
9
+ "<span class='dijitReset dijitInline dijitIcon" ;
10
+
11
+ // Show icon if Icon is set, or button type is only-icon
12
+ if ( options . icon || options . type ) {
13
+ button += " dijitEditorIcon dijitEditorIcon" + options . icon ;
14
+ } else {
15
+ button += " dijitNoIcon" ;
16
+ }
17
+
18
+ button += "'></span>" +
19
+ "<span class='dijitReset dijitToggleButtonIconChar'>●</span>" +
20
+ "<span class='dijitReset dijitInline dijitButtonText " ;
21
+
22
+ // Check if Button text is to be displayed
23
+ if ( options . type ) {
24
+ button += " dijitDisplayNone" ;
25
+ }
26
+
27
+ button += " '>button</span></span></span>" +
28
+ "<input type='button' value='' class='dijitOffScreen' " +
29
+ "aria-hidden='true'></span></span>" ;
30
+ return button ;
31
+ } ,
32
+ variations : {
33
+ type : [
34
+ "" ,
35
+ "icon-only"
36
+ ] ,
37
+
38
+ icon : [
39
+ "" ,
40
+ "Cut" ,
41
+ "Save" ,
42
+ "Bold" ,
43
+ "Underline" ,
44
+ "Copy"
45
+ ]
46
+
47
+ }
48
+ }
49
+ } ;
Original file line number Diff line number Diff line change @@ -34,7 +34,9 @@ module.exports = {
34
34
"http://localhost:4200/framework/topcoat-mobile/component/button/count/1000/" +
35
35
"topcoat-mobile:button" ,
36
36
"http://localhost:4200/framework/semantic-ui/component/button/count/1000/" +
37
- "semantic-ui:button"
37
+ "semantic-ui:button" ,
38
+ "http://localhost:4200/framework/dojo/component/button/count/1000/" +
39
+ "dojo:button"
38
40
]
39
41
}
40
42
}
You can’t perform that action at this time.
0 commit comments