3.7 iOS 控件 - Slider 滑塊


An iOS slider with customizable size and colors.
Use the Touch button on the component to get information about the slider.
可以自定義尺寸和顏色的iOS樣式滑塊。使用圖層上的 Touch 按鈕獲取有關(guān)滑塊的信息。

屬性

Enable 啟用
A boolean that is true when the slider is displayed.

Opacity 不透明度
The opacity of the slider.
整個(gè)滑塊的不透明度。

Progress 進(jìn)度
A progress value from 0 to 1 that represents where to jump the slider to.
0~1的值決定滑塊調(diào)到哪兒。

Position 位置
The position to display the slider.

Anchor 錨點(diǎn)
The anchor point to position the slider relative to. See Coordinates for more information.

Width 寬度
The width of the slider.
滑塊的寬度。

Tint Color 顏色
The color of the active portion of the slider to the left of the knob.
滑塊旋鈕進(jìn)度條左側(cè)的顏色。

Unfilled Tint Color 未填充的顏色
The color of the inactive portion of the slider to the right of the knob.
滑塊旋鈕進(jìn)度條右側(cè)的顏色。

Thumb Tint 滑塊旋鈕的顏色
The color of the knob to adjust the slider.
用來(lái)調(diào)整滑塊的旋鈕顏色。

Disabled 禁用
A boolean that is true when the slider is displayed but disabled. Fades the slider.
勾選后滑塊禁用。

Touch 按鈕

Progress 進(jìn)度
A progress value that represents the current position of the slider from 0 to 1.
一個(gè) 0 ~ 1 的進(jìn)度值表示滑塊的當(dāng)前位置。

Scrubbing 刷
板栗:什么!刷!
A boolean that is true when the knob is being dragged.
拖動(dòng)旋鈕時(shí)布爾值為真。

全部圖層,查看 圖層目錄


Related Layers 相關(guān)圖層

Action Sheet 操作表,Activity Indicator 加載菊花Alert View 警告彈窗,Fake Keyboard 模擬鍵盤,Page Control 翻頁(yè)小點(diǎn)Screen 滑屏,Status Bar 狀態(tài)欄,Switch 開(kāi)關(guān)Tab Bar 標(biāo)簽欄,Text Field 文本輸入框,Visual Effect 毛玻璃效果


最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • **2014真題Directions:Read the following text. Choose the be...
    又是夜半驚坐起閱讀 11,227評(píng)論 0 23
  • 閨蜜要結(jié)婚了,我想為她設(shè)計(jì)獨(dú)一無(wú)二的禮服
    木北Y閱讀 360評(píng)論 0 2
  • 姓名:陳萬(wàn)象 公司:新康嘉商貿(mào)有限公司 《六項(xiàng)精進(jìn)》289期反省二組學(xué)員 【日精進(jìn)打卡第30天】 【知~學(xué)習(xí)】 《...
    陳萬(wàn)象閱讀 129評(píng)論 0 0
  • 今天早上5點(diǎn)半去體育場(chǎng)跑步,發(fā)現(xiàn)人山人海,頓生敬意??上謾C(jī)沒(méi)帶,沒(méi)能拍下這美麗的一幕。 本人感悟:為了努力而努力...
    若心向陽(yáng)閱讀 305評(píng)論 0 3
  • 文|席慕容 我 是一朵盛開(kāi)的夏蓮 多希望 你能看見(jiàn)現(xiàn)在的我 風(fēng)霜還不曾來(lái)侵蝕 秋雨還未滴落 青澀的季節(jié)又已離我遠(yuǎn)去...
    HELLO王榮民閱讀 402評(píng)論 0 0

友情鏈接更多精彩內(nèi)容