@progress/kendo-angular-navigation
Version:
Kendo UI Navigation for Angular
37 lines (36 loc) • 1.56 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* Defines the possible orientations for ActionSheet action buttons.
* - `horizontal`—Lays out actions in a horizontal row.
* - `vertical`—Stacks actions vertically.
*/
export type ActionSheetActionsOrientation = 'horizontal' | 'vertical';
/**
* Defines the possible alignments for the ActionSheet action buttons.
* - `start`—Aligns actions to the start of the container.
* - `center`—Centers actions within the container.
* - `end`—Aligns actions to the end of the container.
* - `stretched`—Stretches actions to fill the available space.
* - `justify`—Distributes actions evenly across the container.
*/
export type ActionSheetActionsAlignment = 'start' | 'center' | 'end' | 'stretched' | 'justify';
/**
* Represents the layout configuration options for the ActionSheet action buttons.
*/
export interface ActionSheetActionsLayout {
/**
* Specifies the orientation of the actions.
*
* @default horizontal
*/
orientation?: ActionSheetActionsOrientation;
/**
* Specifies the alignment of the actions within the container.
*
* @default stretched
*/
alignment?: ActionSheetActionsAlignment;
}