Class IgxDateRangeStartComponent

Defines the start 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, start input has to be templated separately

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

Hierarchy

Hierarchy

  • IgxDateRangeInputsBaseComponent
    • IgxDateRangeStartComponent

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 hasBorder(): boolean
  • Returns whether the IgxInputGroupComponent has border.

    @ViewChild("MyInputGroup")
    public inputGroup: IgxInputGroupComponent;
    ngAfterViewInit(){
    let inputBorder = this.inputGroup.hasBorder;
    }

    Returns boolean

  • get isTypeBootstrap(): boolean
  • Returns true if the IgxInputGroupComponent theme is Bootstrap.

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

    Returns boolean

  • get isTypeBorder(): boolean
  • Returns whether the IgxInputGroupComponent type is border.

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

    Returns boolean

  • get isTypeBox(): boolean
  • Returns whether the IgxInputGroupComponent type is box.

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

    Returns boolean

  • get isTypeFluent(): boolean
  • Returns true if the IgxInputGroupComponent theme is Fluent.

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

    Returns boolean

  • get isTypeIndigo(): boolean
  • Returns true if the IgxInputGroupComponent theme is Indigo.

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

    Returns boolean

  • get isTypeLine(): boolean
  • Returns whether the IgxInputGroupComponent type is line.

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

    Returns boolean

  • get isTypeSearch(): boolean
  • Returns whether the IgxInputGroupComponent type is search.

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

    Returns boolean

  • get theme(): IgxTheme
  • Returns the theme of the input. The returned value is of type IgxInputGroupType.

    @ViewChild("MyInputGroup")
    public inputGroup: IgxInputGroupComponent;
    ngAfterViewInit() {
    let inputTheme = this.inputGroup.theme;

    Returns IgxTheme

  • set theme(value): void
  • Sets the theme of the input. Allowed values of type IgxInputGroupTheme.

    @ViewChild("MyInputGroup")
    public inputGroup: IgxInputGroupComponent;
    ngAfterViewInit() {
    let inputTheme = 'fluent';

    Parameters

    • value: IgxTheme

    Returns void