AiOS switch with customizable colors. Use the Touch button on the component to get the state of the switch.
可自定義顏色的開關。
使用組件上的 Touch 按鈕獲取開關的狀態(tài)。
Enable 啟用
A boolean that is true when the switch is displayed.
勾選時啟用開關。
Position 位置
The position to display the layer.
坐標位置。
Anchor 錨點
The anchor point to position the layer relative to. See Coordinates for more information.
位于屏幕中的錨點,詳細信息閱讀Coordinates 坐標。
Tint Color 開顏色
The color of the switch background when turned on.
打開開關時的背景顏色。
Opacity 不透明度
The opacity of the switch.
開關的不透明度。
Turn On 打開
A pulse that turns the switch on.
勾選后初始狀態(tài)為打開狀態(tài)。
Turn Off 關閉
A pulse that turns the switch off.
勾選后初始狀態(tài)為關閉狀態(tài)
Touch
On / Off 開關
A boolean that is true when the switch is on.
開關打開時布爾值為真。
板栗:估計是連到別的模塊同步狀態(tài)用的
全部圖層,查看 圖層目錄
Related Patches
Switch
Related Layers 相關圖層
Action Sheet 操作表,Activity Indicator 加載菊花,Alert View 警告彈窗,Fake Keyboard 模擬鍵盤,Page Control 翻頁小點,Screen 滑屏,Slider 滑塊,Status Bar 狀態(tài)欄,Tab Bar 標簽欄,Text Field 文本輸入框,Visual Effect 毛玻璃效果