0.0.9 • Published 1 year ago

@sixty.stone/ngx-sixty-stone-dialog v0.0.9

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

@sixty.stone/ngx-sixty-stone-dialog

Implementation

Bootstrap Module

  • import { SixtyStoneDialogModule } from '@sixty.stone/ngx-sixty-stone-dialog'

App Component TypeScript

  • import { SixtyStoneDialogComponent, SixtyStoneDialogParams, SixtyStoneDialogSize } from '@sixty.stone/ngx-sixty-stone-dialog';

  • private dialog : SixtyStoneDialogComponent | null = null;

  • dialogParams: SixtyStoneDialogParams = new SixtyStoneDialogParams(SixtyStoneDialogSize.medium, "Title");

Inside ngOnInit()

  • this.dialogParams.eventHandlers.onInit = (d: SixtyStoneDialogComponent) => this.dialog = d;

Inside Show Handler

  • this.dialog?.open();

App Component HTML

  • <sixty-stone-dialog [dialog-params]="dialogParams">[put some HTML in here]</sixty-stone-dialog>
0.0.9

1 year ago

0.0.8

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.3

3 years ago

0.0.2

3 years ago