Skip to content

Commit 3bf1684

Browse files
committed
fix minor issues
1 parent e946895 commit 3bf1684

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/dialog/dialog.directive.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,15 @@ export class DialogDirective implements OnInit, OnDestroy, OnChanges {
8888
* Config object passed to the rendered component
8989
*/
9090
dialogConfig: DialogConfig;
91-
91+
/**
92+
* Emits an event when the dialog is closed
93+
*/
9294
@Output() onClose: EventEmitter<any> = new EventEmitter();
95+
/**
96+
* Emits an event when the dialog is opened
97+
*/
9398
@Output() onOpen: EventEmitter<any> = new EventEmitter();
9499

95-
96100
@HostBinding("attr.role") role = "button";
97101
@HostBinding("attr.aria-expanded") expanded = false;
98102
@HostBinding("attr.aria-haspopup") hasPopup = true;

0 commit comments

Comments
 (0)