How to close dialog and sheet #520
Answered
by
Georg632
koalacapek
asked this question in
Q&A
-
How do we close sheet and dialog on button click |
Beta Was this translation helpful? Give feedback.
Answered by
Georg632
Dec 15, 2024
Replies: 1 comment 3 replies
-
BrnDialogCloseDirectiveAdd
By CodeAdd template reference or use viewchild to gain access to the dialog:
Sheet is basically the same, just different names. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
goetzrobin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BrnDialogCloseDirective
Add
BrnDialogCloseDirective
to your imports and add the selector to your button:By Code
Add template reference or use viewchild to gain access to the dialog:
<hlm-dialog #dialog>
Use
close
function:Sheet is basically the same, just different names.