TargetAction
class TargetAction extends Action
窗口模式
Properties
protected bool | $disabled | 禁用 | from Action |
protected bool | $plain | 朴素模式 | from Action |
protected bool | $circle | 圆形 | from Action |
protected string | $type | 按钮的类型 | from Action |
protected string | $size | 大小 | from Action |
protected string | $icon | icon | from Action |
protected bool | $only | 是否只显示 ICON |
from Action |
protected bool | $confirm | 是否进行请求前确认 | from Action |
protected string | $method | 请求方法 | from Action |
protected string | $url | 请求的Url | from Action |
Methods
Details
in
Action at line 99
__construct($title, $url)
创建 Action
in
Action at line 131
__call($method, $args)
No description
at line 24
struct()
Action 渲染
in
Action at line 20
self
primary()
主要按钮
in
Action at line 20
self
default()
默认样式
in
Action at line 20
self
success()
成功
in
Action at line 20
self
info()
信息
in
Action at line 20
self
warning()
警告
in
Action at line 20
self
danger()
危险
in
Action at line 20
self
disabled()
禁用
in
Action at line 20
self
plain()
朴素模式
in
Action at line 20
self
circle()
原型模式
in
Action at line 20
self
only()
仅仅显示图标
at line 14
TargetAction
target($target)
No description