美文网首页
10.12 Utility - Option Sender 选项

10.12 Utility - Option Sender 选项

作者: 刘板栗 | 来源:发表于2017-02-24 23:23 被阅读39次

    Pick one of the outputs to send the value to. Often used with Option Switch to control which output to send the value to. Formerly known as Demultiplexer.
    把值发送到选中的一个输出口。 通常与 Option Switch 一起使用来控制把值发送哪个输出口。

    Right-click to change the type (ex: color, boolean), or to add additional options.
    右键更改类型 (如:颜色、布尔值),或添加其它选项。

    输入口

    Option 选项
    An index (starting at 0) that represents the output to send the value to.

    Value 值
    A value to be passed to the selected output.
    要传递到所选输出口的值。

    Default 默认
    A value to be passed to the unselected outputs.
    要传递到未选择输出口的值。

    输出口

    Output 输出
    If selected (option is 0), the value. Otherwise, the default.

    Output
    If selected (option is 1), the value. Otherwise, the default.


    Related Patches

    Option Picker


    Related Examples 案例

    Instagram Carousel
    Create horizontal scrolling with page indicators.

    Instagram Compose
    Switch between the Instagram upload options.

    Instagram Stories Scroll
    Tap to switch between read and unread Instagram Stories.

    Moments Onboarding
    The original Moments app full onboarding flow.


    相关文章

      网友评论

          本文标题:10.12 Utility - Option Sender 选项

          本文链接:https://www.haomeiwen.com/subject/yzfgwttx.html