You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As briefly described in the Issue #9, Vuert allows the developer to extend the options provided (among the default ones) when emitting a new alert.
Or, at least, it should do so... In reality, it isn't like that.
In the constructor of the Alert class, the options are -indeed- selected one by one and assigned to the Alert object.
What happens if the developer adds some new properties? They're simply ignored and lost.
Should it just use the payload property that accepts any kind of data?
What if I want to provide some data to the AlertHandler but not to any eventual custom child component?
The text was updated successfully, but these errors were encountered:
As briefly described in the Issue #9, Vuert allows the developer to extend the options provided (among the default ones) when emitting a new alert.
Or, at least, it should do so... In reality, it isn't like that.
In the constructor of the
Alert
class, the options are -indeed- selected one by one and assigned to theAlert
object.What happens if the developer adds some new properties? They're simply ignored and lost.
Should it just use the
payload
property that accepts any kind of data?What if I want to provide some data to the
AlertHandler
but not to any eventual custom child component?The text was updated successfully, but these errors were encountered: