File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -247,15 +247,19 @@ You can customize these properties of the drop down:
247247
248248- ` textFont ` : the font of the text for each cells of the drop down.
249249- ` textColor ` : the color of the text for each cells of the drop down.
250+ - ` selectedTextColor ` : the color of the text for selected cells of the drop down.
250251- ` backgroundColor ` : the background color of the drop down.
251252- ` selectionBackgroundColor ` : the background color of the selected cell in the drop down.
252253- ` cellHeight ` : the height of the drop down cells.
253254- ` dimmedBackgroundColor ` : the color of the background (behind the drop down, covering the entire screen).
255+ - ` cornerRadius ` : the corner radius of the drop down (see [ info] ( #Issues ) below if you encounter any issue)
256+ - ` setupMaskedCorners ` : the masked corners of the dropdown. Use this along with ` cornerRadius ` to set the corner radius only on certain corners.
254257
255258You can change them through each instance of ` DropDown ` or via ` UIAppearance ` like this for example:
256259
257260``` swift
258261DropDown.appearance ().textColor = UIColor.black
262+ DropDown.appearance ().selectedTextColor = UIColor.red
259263DropDown.appearance ().textFont = UIFont.systemFont (ofSize : 15 )
260264DropDown.appearance ().backgroundColor = UIColor.white
261265DropDown.appearance ().selectionBackgroundColor = UIColor.lightGray
You can’t perform that action at this time.
0 commit comments