ToolbarOperation deprecated
final class ToolbarOperation extends BatchRequestOperation
deprecated
工具栏请求事件
Properties
protected bool | $disabled | 禁用 | from Operation |
protected array | $attributes | 属性 | from Operation |
protected array | $classes | 样式 | from Operation |
protected string | $plain | 朴素模式 | from Operation |
protected bool | $round | 圆角 | from Operation |
protected string | $type | 按钮的类型 | from Operation |
protected string | $size | 大小 | from Operation |
protected string | $icon | icon | from Operation |
protected bool | $only | 是否只显示 ICON |
from Operation |
protected bool | $link | 文字模式 | from Operation |
protected string | $confirm | 是否进行请求前确认 | from Operation |
protected string | $method | 请求方法 | from Operation |
protected string | $url | 请求的Url | from Operation |
protected string | $title | 标题/说明 | from Operation |
protected | $renderType | from BatchRequestOperation |
Methods
Details
in
Operation at line 144
__construct($title, $url)
创建 Action
in
Operation at line 156
Operation
icon(string $icon)
设置 ICON 图标,默认支持 bootstrap icon, 可以使用 lay: 前缀来引用 layui 图标
in
Operation at line 199
__call($method, $args)
No description
in
BatchRequestOperation at line 17
string
render()
No description
in
Operation at line 292
protected string
createIconTitle()
创建图标标题
in
Operation at line 28
self
bare()
素颜, 不进行样式修饰
in
Operation at line 28
self
primary()
主要
in
Operation at line 28
self
normal()
默认
in
Operation at line 28
self
warm()
暖色
in
Operation at line 28
self
danger()
危险
in
Operation at line 28
self
disabled()
禁用
in
Operation at line 28
self
default()
默认
in
Operation at line 28
self
lg()
大型
in
Operation at line 28
self
sm()
小型
in
Operation at line 28
self
xs()
迷你
in
Operation at line 28
self
round()
圆角
in
Operation at line 28
self
only()
仅仅显示图标