@progress/kendo-angular-buttons
Version:
Buttons Package for Angular
34 lines (33 loc) • 1.15 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* Specifies the horizontal and vertical alignment of the FloatingActionButton relative to the viewport or parent element
* ([see example](slug:positioning_floatingactionbutton#alignment)).
*
* @example
* ```typescript
* const align: FabAlign = { vertical: 'top', horizontal: 'start' };
* ```
*/
export interface FabAlign {
/**
* Specifies the vertical alignment of the FloatingActionButton.
*
* The available options are:
* - `top` (Default)
* - `middle`
* - `bottom`
*/
vertical?: 'top' | 'middle' | 'bottom';
/**
* Specifies the horizontal alignment of the FloatingActionButton.
*
* The available options are:
* - `start`
* - `center`
* - `end` (Default)
*/
horizontal?: 'start' | 'center' | 'end';
}