Class IgxInputGroupComponent

Base class containing all logic required for implementing DisplayDensity.

Hierarchy

Hierarchy

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>
onDensityChanged: EventEmitter<IDensityChangedEventArgs> = ...
suppressInputAutofocus: boolean = false

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

Remarks

Automatic focus causes software keyboard to show on mobile devices.

Example

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

Accessors

Methods