Page Actions

文档页面的头部操作:状态、主控件和溢出菜单。

可用框架
  • Angular: 可用
  • Vue: 可用
  • React: 可用
  • React Native: 暂不可用

用法

Product roadmapEdited Oct 08

导入

ts
import {
  SonePageActionsComponent,
  SonePageActionsLeadDirective,
  SonePageActionsStatusDirective,
} from "@surface-one/angular/page-actions";

API 参考

SonePageActionsComponent组件

选择器
sone-page-actions
输入
名称类型 默认值
statusstring | nullnull
label—$localize`More actions`
tooltipstring | nullnull
disabledbooleanfalse
showMenubooleantrue
输出
名称类型
openChangeboolean

SonePageActionsLeadDirective指令

选择器
[sonePageActionsLead]

SonePageActionsStatusDirective指令

选择器
[sonePageActionsStatus]