What are the steps to reproduce?
I am inserting a notification node (ui_toast). In Properties is select a layout "OK/Cancel Dialog" or "OK/Cancel Dialog with Input". Then I add a Class to the node.
What happens?
The class is not applied on the notification node.
What do you expect to happen?
I except my custom class to be applied to the notification node, so I can target it with CSS
Please tell us about your environment:
Solution:
The problem is solved by changing line 630 in "main.js":
from
confirm._options.template = '<md-dialog md-theme="{{ dialog.theme || dialog.defaultTheme }}" aria-label="{{ dialog.ariaLabel }}" >' +"
to
confirm._options.template = '<md-dialog md-theme="{{ dialog.theme || dialog.defaultTheme }}" aria-label="{{ dialog.ariaLabel }}" class="' + msg.toastClass + ' >' +"
What are the steps to reproduce?
I am inserting a notification node (ui_toast). In Properties is select a layout "OK/Cancel Dialog" or "OK/Cancel Dialog with Input". Then I add a Class to the node.
What happens?
The class is not applied on the notification node.
What do you expect to happen?
I except my custom class to be applied to the notification node, so I can target it with CSS
Please tell us about your environment:
Solution:
The problem is solved by changing line 630 in "main.js":
from
confirm._options.template = '<md-dialog md-theme="{{ dialog.theme || dialog.defaultTheme }}" aria-label="{{ dialog.ariaLabel }}" >' +"to
confirm._options.template = '<md-dialog md-theme="{{ dialog.theme || dialog.defaultTheme }}" aria-label="{{ dialog.ariaLabel }}" class="' + msg.toastClass + ' >' +"