1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"
});
|