Constructors
Section titled "Constructors"CheckboxBaseDirective
new CheckboxBaseDirective(): CheckboxBaseDirective Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:237
Returns CheckboxBaseDirective
Properties
Section titled "Properties"ariaLabel
Section titled "ariaLabel"Sets/gets the value of the aria-label attribute.
ariaLabel: string = null Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:235
Example
<igx-checkbox aria-label="Checkbox1"></igx-checkbox>let ariaLabel = this.checkbox.ariaLabel; ariaLabelledBy
Section titled "ariaLabelledBy"Sets/gets the aria-labelledby attribute.
If not set, the aria-labelledby will be equal to the value of labelId attribute.
ariaLabelledBy: string Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:221
Example
<igx-checkbox aria-labelledby="Checkbox1"></igx-checkbox>let ariaLabelledBy = this.checkbox.ariaLabelledBy; change
Section titled "change"An event that is emitted after the checkbox state is changed.
Provides references to the IgxCheckboxComponent and the checked property as event arguments.
change: EventEmitter<IChangeCheckboxEventArgs> Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:36
cssClass
Section titled "cssClass"cssClass: string Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:67
disabled
Section titled "disabled"disabled: boolean Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:68
disableRipple
Section titled "disableRipple"Enables/Disables the ripple effect.
If not set, disableRipple will have value false.
disableRipple: boolean = false Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:206
Example
<igx-checkbox [disableRipple]="true"></igx-checkbox>let isRippleDisabled = this.checkbox.desableRipple; focused
Section titled "focused"focused: boolean Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:71
Sets/gets the id of the checkbox component.
If not set, the id of the first checkbox component will be "igx-checkbox-0".
id: string Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:123
Example
<igx-checkbox id="my-first-checkbox"></igx-checkbox>let checkboxId = this.checkbox.id; indeterminate
Section titled "indeterminate"indeterminate: boolean Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:70
invalid
Section titled "invalid"invalid: boolean Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:72
labelId
Section titled "labelId"Sets/gets the id of the label element.
If not set, the id of the label in the first checkbox component will be "igx-checkbox-0-label".
labelId: string Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:137
Example
<igx-checkbox labelId="Label1"></igx-checkbox>let labelId = this.component.labelId; labelPosition
Section titled "labelPosition"Sets/gets the position of the label.
If not set, the labelPosition will have value "after".
labelPosition: string = LabelPosition.AFTER Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:191
Example
<igx-checkbox labelPosition="before"></igx-checkbox>let labelPosition = this.checkbox.labelPosition; Sets/gets the name attribute.
name: string Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:163
Example
<igx-checkbox name="Checkbox1"></igx-checkbox>let name = this.checkbox.name; nativeInput
Section titled "nativeInput"Returns reference to the native checkbox element.
nativeInput: ElementRef Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:54
Example
let checkboxElement = this.component.checkboxElement; nativeLabel
Section titled "nativeLabel"Returns reference to the native label element.
@example
let labelElement = this.component.nativeLabel; nativeLabel: ElementRef Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:65
ngControl
Section titled "ngControl"ngControl: NgControl Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:29
placeholderLabel
Section titled "placeholderLabel"Returns reference to the label placeholder element.
@example
let labelPlaceholder = this.component.placeholderLabel; placeholderLabel: ElementRef Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:107
readonly
Section titled "readonly"readonly: boolean Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:69
tabindex
Section titled "tabindex"Sets/gets the value of the tabindex attribute.
tabindex: number = null Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:176
Example
<igx-checkbox [tabindex]="1"></igx-checkbox>let tabIndex = this.checkbox.tabindex; value
Section titled "value"Sets/gets the value attribute.
value: any Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:150
Example
<igx-checkbox [value]="'CheckboxValue'"></igx-checkbox>let value = this.checkbox.value; checked
Section titled "checked"checked: boolean Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:75, projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:79
required
Section titled "required"required: boolean Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:267, projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:270
Accessors
Section titled "Accessors"nativeElement
Section titled "nativeElement"Returns reference to the nativeElement of the igx-checkbox/igx-switch.
get nativeElement(): any Defined in projects/igniteui-angular/directives/src/directives/checkbox/checkbox-base.directive.ts:94
Example
let nativeElement = this.component.nativeElement; Returns any