Class IgxDateRangeEndComponent

Defines the end input for a date range picker

IgxDateRangePickerModule

igx-input-group-theme, igx-calendar-theme, igx-date-range-picker-theme

date, range, date range, date picker

scheduling

When templating, end input has to be template separately

<igx-date-range-picker mode="dropdown">
...
<igx-date-range-end>
<input igxInput igxDateTimeEditor type="text">
</igx-date-range-end>
</igx-date-range-picker>

Constructors

Properties

defaultClass: boolean = true

Property that enables/disables the auto-generated class of the IgxInputGroupComponent. By default applied the class is applied.

 @ViewChild("MyInputGroup")
public inputGroup: IgxInputGroupComponent;
ngAfterViewInit(){
this.inputGroup.defaultClass = false;

}

element: ElementRef<HTMLElement> = ...
inputDirective: IgxInputDirective
suppressInputAutofocus: boolean = false

Prevents automatically focusing the input when clicking on other elements in the input group (e.g. prefix or suffix).

Automatic focus causes software keyboard to show on mobile devices.

<igx-input-group [suppressInputAutofocus]="true"></igx-input-group>

Accessors

  • get isTypeBootstrap(): boolean

    Returns true if the IgxInputGroupComponent theme is Bootstrap.

    @ViewChild("MyInputGroup1")
    public inputGroup: IgxInputGroupComponent;
    ngAfterViewInit(){
    let isTypeBootstrap = this.inputGroup.isTypeBootstrap;
    }

    Returns boolean