进程:

    • options Object
      • value Integer (可选) - 选中值.
      • minValue Integer (可选) - 最小值.
      • maxValue Integer (可选) - 最大值.

    实例属性

    A String representing the slider’s current text. Changing this value immediately updates the slider in the touch bar.

    touchBarSlider.value

    touchBarSlider.minValue

    A Number representing the slider’s current minimum value. Changing this value immediately updates the slider in the touch bar.

    touchBarSlider.maxValue