@progress/kendo-vue-buttons
Version:
35 lines (34 loc) • 1.57 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
/**
* Specifies the horizontal and vertical alignment of the Floating Action Button in relation to the container.
*
* > Centering the Floating Action Button in both horizontal and vertical dimension is not a typical use case.
* Still, it is possible to achieve such a layout with appropriate offsets. Setting horizontal: "center" and
* vertical: "middle" at the same time is not supported.
*/
export interface FloatingActionButtonAlign {
/**
* Defines the possible horizontal alignment of the Floating Action Button.
*
* The available values are:
* - `start`—Uses the start point of the container.
* - `center`—Uses the center point of the container.
* - `end`(Default)—Uses the end point of the container.
*/
horizontal?: 'start' | 'center' | 'end';
/**
* Defines the possible vertical alignment of the Floating Action Button.
*
* The available values are:
* - `top`—Uses the top point of the container.
* - `middle`—Uses the middle point of the container.
* - `bottom`(Default)—Uses the bottom point of the container.
*/
vertical?: 'top' | 'middle' | 'bottom';
}