BinarCode/vue-notifyjs

Suggest to add message title to Notifyjs

buildJava opened this issue · 5 comments

I think add a message title is a better way to show notify message, how do you think

So your are suggesting

 this.$notify({
        title: 'Welcome'
})

Instead of

 this.$notify({
        message: 'Welcome'
})

If this is your question, then most likely I won't change it since this is just a preference and does not add too much to the plugin

I would be more open to rather support something like this

 this.$notify('Welcome')

In case you don't want to specify other options like position, color etc.

I mean sometimes a 'notify' has a title and a message, like this:
image
then we can use like
this.$notify({title: 'message title', message: 'message content'})

Oh, I get your point. Yes, that could be an option to add

thank you very much, this is a awesome component

0.2.0 contains title option