31 lines
625 B
TypeScript
31 lines
625 B
TypeScript
import { TemplateRef } from '@angular/core';
|
|
/**
|
|
* Defines valid templates in SplitButton.
|
|
* @group Templates
|
|
*/
|
|
export interface SplitButtonTemplates {
|
|
/**
|
|
* Custom template of content.
|
|
*/
|
|
content(): TemplateRef<any>;
|
|
/**
|
|
* Custom template of dropdownicon.
|
|
*/
|
|
dropdownicon(): TemplateRef<any>;
|
|
}
|
|
/**
|
|
* Defines ButtonProps interface.
|
|
*/
|
|
export interface ButtonProps {
|
|
ariaLabel?: string;
|
|
}
|
|
/**
|
|
* Defines MenuButtonProps interface.
|
|
*/
|
|
export interface MenuButtonProps {
|
|
ariaLabel?: string;
|
|
ariaHasPopup?: boolean;
|
|
ariaExpanded?: boolean;
|
|
ariaControls?: string;
|
|
}
|