|
/**
|
|
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"
|
|
});
|