Interface MaskToggleButtonProperties

<svi-mask-toggle-button
[childNode]="childNode"
[pageModel]="pageModel"
>
</svi-mask-toggle-button>
const maskToggleBtn = document.createElement(SVICustomElement.MaskToggleButton);
maskToggleBtn.pageModel = this.pageModel;
maskToggleBtn.childNode = this.childNode;
interface MaskToggleButtonProperties {
    childNode: Control<TypeAttributes>;
    controlName?: string;
    dataSource?: string;
    disabled?: boolean;
    hidden?: boolean;
    pageModel: PageModel;
}

Hierarchy (view full)

Properties

controlName?: string

Override the control name displayed in the authorization dialog.

dataSource?: string

Specify which dataSource will be toggled.

If no dataSource is specified, the mask-toggle-button will toggle the dataSource(s) defined in the childNode's typeAttributes.

disabled?: boolean

Disable the mask toggle button.

hidden?: boolean

Hide the mask toggle button.

pageModel: PageModel