aimpress-chatbot/node_modules/botframework-schema/lib/sharepoint/propertyPaneToggleProperties.d.ts
“SamoilenkoVadym” 195299ece0 Initial commit
2025-04-27 17:05:18 +01:00

43 lines
No EOL
1.1 KiB
TypeScript

import { PropertyPaneFieldProperties } from './propertyPaneFieldProperties';
/**
* SharePoint property pane toggle field properties.
*/
export interface PropertyPaneToggleProperties extends PropertyPaneFieldProperties {
/**
* Optional ariaLabel flag. Text for screen-reader to announce regardless of toggle state.
*/
ariaLabel?: string;
/**
* A label for the toggle.
*/
label?: string;
/**
* Indicates whether the toggle is disabled or not.
*/
disabled?: boolean;
/**
* Indicates whether the toggle is checked or not.
*/
checked?: boolean;
/**
* A key to uniquely identify the toggle.
*/
key?: string;
/**
* Text to display when toggle is OFF.
*/
offText?: string;
/**
* Text to display when toggle is ON.
*/
onText?: string;
/**
* Optional onAriaLabel flag. Text for screen-reader to announce when toggle is ON.
*/
onAriaLabel?: string;
/**
* Optional offAriaLabel flag. Text for screen-reader to announce when toggle is OFF.
*/
offAriaLabel?: string;
}
//# sourceMappingURL=propertyPaneToggleProperties.d.ts.map