Class IgxToggleActionDirective

Hierarchy

Implements

  • OnInit

Constructors

Properties

Accessors

Constructors

constructor

Properties

outlet

outlet: IgxOverlayOutletDirective | ElementRef

Determines where the toggle element overlay should be attached.

<!--set-->
<div igxToggleAction [igxToggleOutlet]="outlet"></div>

Where outlet in an instance of IgxOverlayOutletDirective or an ElementRef

overlaySettings

overlaySettings: OverlaySettings

Provide settings that control the toggle overlay positioning, interaction and scroll behavior.

const settings: OverlaySettings = {
     closeOnOutsideClick: false,
     modal: false
 }

<!--set-->
<div igxToggleAction [overlaySettings]="settings"></div>

Accessors

closeOnOutsideClick

  • get closeOnOutsideClick(): boolean
  • set closeOnOutsideClick(v: boolean): void