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