IgxToggleActionDirective

new IgxToggleActionDirective(): IgxToggleActionDirective

Returns IgxToggleActionDirective

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

outlet: IgxOverlayOutletDirective | ElementRef<any>

Defined in projects/igniteui-angular/directives/src/directives/toggle/toggle.directive.ts:453

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>
overlaySettings: OverlaySettings

Defined in projects/igniteui-angular/directives/src/directives/toggle/toggle.directive.ts:437