import { CoreModel } from '../core/core.model'; import { IconModel } from '../icon/icon.model'; /** *

Example of Button Model:

*
{{'{'}}
 *	label: 'Buy',
 *	iconProperty: {{'{'}}
 *		name: 'fa-money'
 *  {{'}'}}
 *  iconPosition: 'right'
 * {{'}'}}
*/ export declare class ButtonModel extends CoreModel { /** *

Label on the button

*

Default is BTN

*/ label?: string; /** *

Type of the button

*

Default is button

*/ type?: string; /** *

Icon object on the button

*

Refer to Icon Component

*/ iconProperty?: IconModel; /** *

Position of the icon (Left of Right)

*/ iconPosition?: string; /** *

Collection of needed AM Button visual types like: mat-primary, mat-raised-button, mat-fab, etc.

*/ buttonTheme?: string; /** *

Waiting state of the button *

Button can be in that state whether enabled or disabled

*/ waiting?: { /** *

Property to toggle button in/out of 'waiting' state

*/ value: boolean; /** *

Disable button when it is in 'waiting' state

*/ disabled: boolean; /** *

Icon representing button in 'waiting' state

*/ iconProperty: IconModel; }; /**@hidden * It is the constructor for the button component. It takes the required string values to create the button object */ constructor(values?: Object); }