truly-ui
Version:
Web Components for Desktop Applications.
92 lines (91 loc) • 2.05 kB
text/typescript
/**
* Created by William on 23/06/2017.
*/
export const dataProperties = [
{
name: "iconBefore",
type: "string",
default: "null",
description: "Create an icon Before the Input.",
options: "ion-printer | fa fa-home | any"
},
{
name: "iconAfter",
type: "string",
default: "null",
description: "Create an icon After the Input.",
options: "ion-printer | fa fa-home | any"
},
{
name: "label",
type: "string",
default: "null",
description: "Create a label together with Input Element",
options: "Any Text"
},
{
name: "labelPlacement",
type: "string",
default: "left",
description: "Label Position",
options: "top | left"
},
{
name: "clearButton",
type: "boolean",
default: "false",
description: "Display an icon to clear any Input Value",
options: "Any Text"
},
{
name: "disabled",
type: "boolean",
default: "false",
description: "Display an input with not selectable text (disabled)",
options: "Any Text"
},
{
name: "readonly",
type: "boolean",
default: "false",
description: "Display an input with selectable text (only read)",
options: "Any Text"
},
{
name: "placeholder",
type: "string",
default: "null",
description: "Display a help text on Input",
options: "Any Text"
},
{
name: "textBefore",
type: "string",
default: "null",
description: "Display a text Before the Input",
options: "Any Text"
}
,
{
name: "textAfter",
type: "string",
default: "null",
description: "Display a text After the Input",
options: "Any Text"
}
,
{
name: "autocomplete",
type: "string",
default: "null",
description: "Define the autocomplete of the input",
options: "on | off"
},
{
name: "textAlign",
type: "string",
default: "left",
description: "Define the alignment of the text inside of the input. (css text-align)",
options: "left|right|center|justify|initial|inherit"
}
];