truly-ui
Version:
Web Components for Desktop Applications.
92 lines (91 loc) • 2.05 kB
text/typescript
/**
* Created by Silvio on 07/07/2017.
*/
export const dataProperties = [
{
name: "multiSelect",
type: "boolean",
default: "false",
description: "Enables selection of multiple buttons if set to true.",
options: "true | false"
}
];
export const dataProperties2 = [
{
name: "type",
type: "string",
default: "button",
description: "Type of button.",
options: "button | submit | reset"
},
{
name: "text",
type: "string",
default: "null",
description: "Displays a text button.",
options: "any text"
},
{
name: "size",
type: "string",
default: "100px (min)",
description: "Button size.",
options: "string | ex: 150px"
},
{
name: "disabled",
type: "boolean",
default: "false",
description: "Disables the button if set to true.",
options: "true | false"
},
{
name: "buttonClass",
type: "string",
default: "null",
description: "Style class of the button.",
options: "CSS class"
},
{
name: "iconAddonBefore",
type: "string",
default: "null",
description: "Creates an icon in the addon before the button.",
options: "ion-printer | fa fa-home | any"
},
{
name: "buttonAddonBeforeClass",
type: "string",
default: "null",
description: "Style class of the addon before.",
options: "CSS class"
},
{
name: "iconAddonAfter",
type: "string",
default: "null",
description: "Creates an icon in the addon after the button.",
options: "ion-printer | fa fa-home | any"
},
{
name: "buttonAddonAfterClass",
type: "string",
default: "null",
description: "Style class of the addon after.",
options: "CSS class"
},
{
name: "toggleClass",
type: "string",
default: "null",
description: "Style class of the toggle button.",
options: "CSS class"
},
{
name: "checkedItem",
type: "boolean",
default: "false",
description: "Mark button as preselected if set to true.",
options: "true | false"
}
];