webdo-cz/livewire-flash
Composer 安装命令:
composer require webdo-cz/livewire-flash
包简介
Flash messages using Livewire
README 文档
README
Installation
install via composer
composer require webdo-cz/livewire-flash
Setup
add before </body>
<livewire:flash-messages />
Usage
make a call to the flash() function.
$flash = [ 'type' => 'success', 'title' => 'Success', 'message' => 'Post added to our database', ]; flash($flash, $this);
($this is used for livewire support)
There are three types: success, warning, error
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-02-04