Closed pdcmoreira closed 5 years ago
My suggestion is that, for each individual call, an options object could be passed, overriding the initialization ones. Something like:
this.$awn.tip('Hello world!', options)
Or, at least, we should be able to pass the title (for translation purposes), like:
this.$awn.success('Hello world!', 'Sucesso')
Entire options override per call will be implemented in version 3.0.0
My suggestion is that, for each individual call, an options object could be passed, overriding the initialization ones. Something like:
Or, at least, we should be able to pass the title (for translation purposes), like: