๐งช Tests
- 100% Test coverage! Every single line is thoroughly tested to guarantee maximum reliability (#42) (090186e), closes #41
๐ New features
- Added
onMounted
plugin option: Makes it easy to grab the generated container vue instance. docs (#42) (c055798), closes #38
๐ง Bug fixes
hasProp
only worked with objects: NowhasProp
works with any component type. (#42) (c92794a), closes #40- False negatives on
isToastContent
: FixedisToastContent
to identify more Vue component types. (#42)(c92794a), closes #39 .update()
may break: Fixed issue with.update()
trying to create toasts without content. (#42)(c055798), closes #37
๐ Documentation
- Added recommended way to get position and type constants: It is now recommended to use the constants
POSITION.TOP_RIGHT
andTYPE.SUCCESS
, etc, instead of the string equivalents"top-right"
,"success"
. Import it as named imports from"vue-toastification"
.