3.1 iOS 控件 - Action Sheet 操作表


An iOS action sheet with customizable actions. Use the Touch button on the component to get the tap events on the buttons.
可自定义操作的iOS操作表。使用 图层上的Touch 按钮获取操作表上的轻触事件。

板栗:意思就是用 Touch 按钮内的属性去判断这个图层达到什么状态时激活什么事件。

属性
Turn On 打开
A pulse that displays the action sheet.
交互模块连接到这个属性控制操作表打开。

Description 描述
A text string that displays above the action buttons.
在操作按钮上方显示一行小文字。

Action 1 动作 1
A text string for the first action button.
输入第一个操作按钮的字符。

Style 1 样式 1
The button style: Default (blue) or Destructive (red)
按钮样式:默认(蓝色)或警告(红色)。

Action 2...6 动作 2...6
A text string for the second action button.
同上
板栗:这里给出了 6 个,表示最多可添加 6 个按钮;空白表示不使用,查看器中不显示。

Style 2...6 样式 2...6
The button style: Default (blue) or Destructive (red)
同上

Touch 按钮

Button 1 Tapped 点击按钮1
A pulse that represents when the first action button is tapped.
用来定义点击按钮 1 时要发生什么事件。

Button 2...6 Tapped
A pulse that represents when the second action button is tapped.
用来定义点击按钮 2...6 时要发生什么事件。

全部图层,查看 图层目录


Related Patches 相关模块

Interaction 交互


Related Layers 相关图层

Activity Indicator 加载菊花Alert View 警告弹窗Fake Keyboard 模拟键盘Page Control 翻页小点Screen 滑屏Slider 滑块Status Bar 状态栏Switch 开关Tab Bar 标签栏Text Field 文本输入框Visual Effect 毛玻璃效果


最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容