import { FabButtonModel } from './fab-button.model'; /** * Fab model provide model data for main fab properties. *

Example:

*
{
 *	direction: 'right';
 *	triggerButton: Object ;
 *	actionButtons: [];
 *	showButtons: true;
 *	stayOpened: true;
 * }
*/ export class FabModel { /** * It is direction of opening Fab action buttons. Optional. Default must be set in file: /src/assets/settings/fab/settings.ts. Can be: 'up', 'right', 'down', 'left'. */ direction?: string; /** * It is data for Fab trigger button based on FabButtonModel. Optional, but then must be set in file describet above. */ triggerButton?: FabButtonModel; /** * It is an array of buttons with type FabButtonModel. Optional. */ actionButtons?: FabButtonModel[]; /** * It set if Fab action buttons must be shown on init. Optional. Default is false. */ showButtons?: boolean; /** * It set if click action on Fab action buttons must hide them or not. Optional. Default is false. */ stayOpened?: boolean; /** * It is icon constructor, which take string values from Fab Component and create Fab object. */ constructor(values: Object = {}) { Object.assign(this, values); } }