diff options
author | Lionel LASKE <llaske@c2s.fr> | 2012-08-25 20:23:36 (GMT) |
---|---|---|
committer | Lionel LASKE <llaske@c2s.fr> | 2012-08-25 20:23:36 (GMT) |
commit | ca3ad6305ec0655ad8475a12ac2228b61cdd9ba0 (patch) | |
tree | 7ef2b853640f99807fba7fd3f2a28bda81727297 /html/lib/onyx/source/Button.js |
Init commit
Diffstat (limited to 'html/lib/onyx/source/Button.js')
-rw-r--r-- | html/lib/onyx/source/Button.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/html/lib/onyx/source/Button.js b/html/lib/onyx/source/Button.js new file mode 100644 index 0000000..b13c334 --- /dev/null +++ b/html/lib/onyx/source/Button.js @@ -0,0 +1,18 @@ +/** + A button in the onyx style. The color of the button may be customized by + applying a background color. + + The *onyx-affirmative*, *onyx-negative*, and *onyx-blue* classes provide + some built-in presets. + + {kind: "onyx.Button", content: "Button"}, + {kind: "onyx.Button", content: "Affirmative", classes: "onyx-affirmative"}, + {kind: "onyx.Button", content: "Negative", classes: "onyx-negative"}, + {kind: "onyx.Button", content: "Blue", classes: "onyx-blue"}, + {kind: "onyx.Button", content: "Custom", style: "background-color: purple; color: #F1F1F1;"} +*/ +enyo.kind({ + name: "onyx.Button", + kind: "enyo.Button", + classes: "onyx-button enyo-unselectable" +});
\ No newline at end of file |