@microsoft/teams.cards
Version:
<p> <a href="https://www.npmjs.com/package/@microsoft/teams.cards" target="_blank"> <img src="https://img.shields.io/npm/v/@microsoft/teams.cards" /> </a> <a href="https://www.npmjs.com/package/@microsoft/teams.cards?activeTab=code" ta
17 lines (15 loc) • 435 B
text/typescript
/**
* Represents an entry for Action.ToggleVisibility's targetElements property
*/
type TargetElement = {
type: 'TargetElement';
/**
* Element ID of element to toggle
*/
elementId: string;
/**
* If `true`, always show target element. If `false`, always hide target element. If not supplied, toggle target element's visibility.
*/
isVisible?: boolean | null;
};
export type { TargetElement };