With this change, if the component receives a messageStyle="one-of-my-own" it doesn't
generate it just generates an "alert-{{TYPE}}" (instead of "alert alert-{{type}}"), since
that is the styles expected by bootstrap.
The default behavior is still the same, this just allows the user to opt out.
This allows me by example to create my own component that extends from the default one and provide different classes (since in my project the "alert" class is used for another kind of component, and I want to use "flash" instead.
With this change, if the component receives a
messageStyle="one-of-my-own"
it doesn't generate it just generates an "alert-{{TYPE}}" (instead of "alert alert-{{type}}"), since that is the styles expected by bootstrap.The default behavior is still the same, this just allows the user to opt out.
This allows me by example to create my own component that extends from the default one and provide different classes (since in my project the "alert" class is used for another kind of component, and I want to use "flash" instead.