src/ui/fab/smart-fab.component.ts
| changeDetection | ChangeDetectionStrategy.Eager |
| selector | smart-fab |
| styleUrls | ./smart-fab.component.scss |
| templateUrl | ./smart-fab.component.html |
Properties |
|
Methods |
|
Inputs |
Outputs |
| actions |
Type : SmartFabAction[]
|
Default value : [], { alias: 'smart-fab-actions' }
|
| align |
Type : FabAlign | undefined
|
Default value : undefined, { alias: 'smart-fab-align' }
|
| disabled |
Type : boolean
|
Default value : false, { alias: 'smart-fab-disabled' }
|
| icon |
Type : string | undefined
|
Default value : undefined, { alias: 'smart-fab-icon' }
|
| offset |
Type : FabOffset | undefined
|
Default value : undefined, { alias: 'smart-fab-offset' }
|
| positionMode |
Type : FabPositionMode | undefined
|
Default value : 'absolute', { alias: 'smart-fab-position-mode' }
|
| rounded |
Type : ButtonRounded | undefined
|
Default value : undefined, { alias: 'smart-fab-rounded' }
|
| size |
Type : FloatingActionButtonSize | undefined
|
Default value : undefined, { alias: 'smart-fab-size' }
|
| svgIcon |
Type : SVGIcon | undefined
|
Default value : undefined, { alias: 'smart-fab-svg-icon' }
|
| text |
Type : string | undefined
|
Default value : undefined, { alias: 'smart-fab-text' }
|
| themeColor |
Type : FloatingActionButtonThemeColor | undefined
|
Default value : 'primary', { alias: 'smart-fab-theme-color' }
|
| ignoreFlexboxLayout |
Type : boolean
|
| smart-help-text |
Type : string | undefined
|
|
Sets the HelpText value for this form child. |
| smart-instance-name |
Type : string
|
|
The instance name of the component |
| smart-object-name |
Type : string
|
|
The object name of the component |
| actionClick |
Type : EventEmitter
|
|
Event emitter for when an action is clicked |
| Public handleLayoutChange | ||||||||
handleLayoutChange(newLayout: any)
|
||||||||
|
Handles layout changes from parent form
Parameters :
Returns :
void
|
| Public notifyLoadingFinished | ||||||
notifyLoadingFinished(objectName: string)
|
||||||
|
Notifies the parent Smart Form that this form child has finished loading
Parameters :
Returns :
void
void |
| fabComponent |
Type : unknown
|
Default value : viewChild<FloatingActionButtonComponent>(
FloatingActionButtonComponent
)
|
| Public injector |
Type : Injector
|
<!--
**************************************************************************
* Copyright © 2006-2026 by Consultingwerk Ltd. ("CW") - *
* www.consultingwerk.com and other contributors as listed *
* below. All Rights Reserved. *
* *
* Software is distributed on an "AS IS", WITHOUT WARRANTY OF ANY *
* KIND, either express or implied. *
* *
* Contributors: *
* *
**************************************************************************
--------------------------------------------------------------------------
File : smart-fab.component.html
Purpose : Template for Smart Fab.
Author(s) : Radu Nicoara
Created : Nov 28, 2025
--------------------------------------------------------------------------
-->
<kendo-floatingactionbutton
dialClass="smart-fab-dial"
[iconClass]="svgIcon() ? undefined : icon()"
[svgIcon]="svgIcon()"
[text]="text()"
[positionMode]="positionMode()"
[offset]="offset()"
[align]="align()"
[disabled]="disabled()"
[size]="size()"
[themeColor]="themeColor()"
[rounded]="rounded()"
[text]="text()"
(dialItemClick)="onActionClick($event)"
[dialItems]="dialItemsSignal()">
</kendo-floatingactionbutton>
./smart-fab.component.scss
/**********************************************************************
* Copyright © 2006-2026 by Consultingwerk Ltd. ("CW") - *
* www.consultingwerk.com and other contributors as listed *
* below. All Rights Reserved. *
* *
* Software is distributed on an "AS IS", WITHOUT WARRANTY OF ANY *
* KIND, either express or implied. *
* *
* Contributors: *
* *
**********************************************************************/
/*------------------------------------------------------------------------
File : smart-fab.component.scss
Purpose : Styles for Smart Fab.
Author(s) : Radu Nicoara
Created : Nov 28, 2025
----------------------------------------------------------------------*/
smart-fab, :host {
display: block;
}