import { CoreModel } from '../core/core.model'; import { IconModel } from '../icon/icon.model'; import { MenuModel } from '../menu/menu.model'; /** * InputClass provide inputs for all Graphical Controls. *
{
* type : "text",
* placeholder: "Input value",
* prefix : "",
* maxlength : "10",
* dividerColor : "",
* value : "",
* suffix : "",
* hint : {
* text : "max 10",
* align : "end"
* },
* icon: {
* name: "thumb_up",
* type: "mi",
* size: "20px",
* color: {
* foreground: "black",
* background: "transparent"
* }
* },
* iconPosition:"right",
* menu: null
* }
*/
export declare class InputModel extends CoreModel {
/**
* It is the type of the input
*/ type: string; /** *It is the placeholder of the input
*/ placeholder: string; /** *It is the hint of the input. align value - start or end
*/ hint: { text: string; align: string; }; /** *It is the prefix of the input
*/ prefix: string; /** *It is the suffix of the input
*/ suffix: string; /** *It is the deviderColor of the input
*/ dividerColor: string; /** *It is the value of the input
*/ value: string; /** *It is input maxlength
*/ maxlength: string; /** *It is the icon object on the input.
*/ iconProperty: IconModel; /** *It is the position if icon. Can be left or right
*/ iconPosition: string; /** *The menue object in case it is a menu button.
*/ menu: MenuModel; constructor(values?: Object); }