juliancwirko/meteor-s-alert

Hide close button

Jargonius opened this issue · 2 comments

It would be very nice to have the option to hide the close button on an alert by alert basis. Then the user cannot close it but you could programatically close it.

You can always use your custom template without close button or hide it with css. I am not sure if we need another option in the configuration for this use case.

Thanks for the feedback! I actually figured out that very solution. I hid it with css and then I realized I could use the template with it's custom parameters to conditionally hide the button.