flex-toast
v0.0.2
Published
<br>
Maintainers
Keywords
Readme
install on project
npm i flex-toast@latestflex-toast body
box display
| Commands | Action |
| :-------------------------- | :-----------------------------------------------------------|
| All Property | use camelCase |
| flexPositionCheck | Input 'true' to move the alert. |
| position: 'custom' | Input custom settings for the manual position on the alert. |
| customX | Only trigger when the position is set to custom for |
| | X and Y coordinates. |
| customY | Only trigger when the position is set to custom for |
| | X and Y coordinates. |
icon display - mdi icon
Icon - mdi-
| Commands | Action |
| :-------------------------- | :--------------------------------------------|
| icon | display mdi icon |
| iconLeft | margin-left |
| iconRight | margin-right |
| iconTop | margin-top |
| iconButton | icon-button |
| iconSize | icon-size |
| iconColor | icon-color |
| iconHeight | icon-height |
| iconWidth | icon-width |
icon display - Url or Path image
Icon - mdi-
| Commands | Action |
| :-------------------------- | :--------------------------------------------|
| iconUrl | display image icon |
| iconLeft | margin-left |
| iconRight | margin-right |
| iconTop | margin-top |
| iconButton | icon-button |
| iconSize | icon-size |
| iconColor | icon-color |
| iconUrlwidth | icon-height |
| iconUrlHeight | icon-width |
Title
How to use title
| Commands | Action |
| :-------------------------- | :--------------------------------------------|
| title | display title |
| titleLeft | margin-left |
| titleRight | margin-right |
| titleTop | margin-top |
| titleButton | title-button |
| titleSize | title-size |
| titleColor | title-color |
| titleHeight | title-height |
| titleWidth | title-width |
| titleBoxShadow | title-box shadow |
| | '0 8px 20px rgba(0, 0, 0, 0.5)' |
| | '0 4px 30px rgba(0, 0, 0, 0.2)' |
| | |
