Actions deprecated
class Actions extends Interactions
deprecated
Traits
Properties
protected array | $items | from UseActions | |
protected array | $defaultStyle | 默认样式 | from UseActions |
protected bool | $dropdownIcon | 下拉菜单使用 icon |
from UseActions |
protected string | $style | 样式 | from UseInteraction |
protected int | $length | from UseInteraction |
Methods
Details
in
UseActions at line 38
UseActions
add(array|Action $action)
Append an action.
in
UseActions at line 55
UseActions
default(array $style = [])
设置默认样式, 该样式需是可以调用的 Action 方法
in
UseActions at line 61
UseActions
quickIcon()
No description
in
UseActions at line 73
TargetAction
target(string $title, string $url)
请求
in
UseActions at line 88
IframeAction
iframe(string $title, string $url)
请求
in
UseActions at line 102
protected mixed
useDefaultStyle($action)
调用默认的样式
in
UseInteraction at line 30
UseInteraction
styleDropdown(int $length = 5, bool $icon = false)
下拉样式
in
UseInteraction at line 48
RequestAction
request(string $title, string $url)
请求
in
UseInteraction at line 64
PageAction
page(string $title, string $url, string $type)
页面
in
UseInteraction at line 79
CopyAction
copy(string $title, string $content)
复制内容
in
UseInteraction at line 95
ProgressAction
progress(string $title, string $url)
进度
in
Interactions at line 21
struct()
No description
in
Interactions at line 37
Jsonable
call(Closure $callback)
调用函数