Class IgxInputGroupComponent

Implements

  • IgxInputGroupBase
  • AfterViewChecked
  • OnDestroy

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>
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