Class IgxInputGroupComponent

Hierarchy

Hierarchy

  • DisplayDensityBase
    • 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;

}

densityChanged: EventEmitter<IDensityChangedEventArgs> = ...
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).

Remarks

Automatic focus causes software keyboard to show on mobile devices.

Example

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

Accessors

Methods

  • Sets the --component-size CSS variable based on the value of Display Density

    Returns "var(--ig-size, var(--ig-size-small))" | "var(--ig-size, var(--ig-size-medium))" | "var(--ig-size, var(--ig-size-large))"