/// import { ElementRef, Renderer, IterableDiffers } from "@angular/core"; import { IgEditorBase } from "./igeditorbase"; import { NgModel } from "@angular/forms"; export declare class IgCheckboxEditorComponent extends IgEditorBase { model: NgModel; constructor(el: ElementRef, renderer: Renderer, differs: IterableDiffers, model: NgModel); /** * Checks if the value in the editor is valid. Note: This function will not trigger automatic notifications. */ isValid(): boolean; /** * Gets/Sets Current checked state/Value of the igCheckboxEditor that will be submitted by the HTML form. * 1. If the [value](ui.igcheckboxeditor#options:value) option IS NOT defined, then 'value' method will match the checked state of the editor. * This option is used when the checkbox is intended to operate as a Boolean editor. In that case the return type is bool. * 2. If the [value](ui.igcheckboxeditor#options:value) option IS defined, then 'value' method will return the value that will be submitted when the editor is checked and the form is submitted. * To get checked state regardless of the 'value' option, use $(".selector").igCheckboxEditor("option", "checked"); * * @param newValue */ value(newValue: Object): string; /** * Toggles the state of the checkbox. */ toggle(): void; }