UNPKG

gd-sprest-js

Version:

SharePoint 2013/Online js components.

24 lines (23 loc) 565 B
import { Fabric, IComponentProps } from "."; /** * CheckBox */ export interface ICheckBox { /** Method to check the checkbox. */ check(): any; /** Returns the checkbox element. */ get(): Fabric.ICheckBox; /** Returns the checkbox value. */ getValue(): boolean; /** Method to uncheck the checkbox. */ unCheck(): any; } /** * CheckBox Properties */ export interface ICheckBoxProps extends IComponentProps { /** The change event */ onChange?: (checked: boolean) => void; /** The checkbox value */ value?: boolean; }