You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/LUAutocompleteView.swift
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,9 @@ open class LUAutocompleteView: UIView {
26
26
publicvarmaximumHeight:CGFloat=200.0
27
27
/// A boolean value that determines whether the view should hide after a suggestion is selected. Default value is `true`.
28
28
publicvarshouldHideAfterSelecting=true
29
+
/// A boolean value that determines whether the view should show even when no text has been digited. When text is empty, you can return a list of elements in order to show suggestions if this value is set to `true`. Default value is `false`.
30
+
publicvarshowElementsWithEmptyText=false
31
+
29
32
/** The attributes for the text suggestions.
30
33
31
34
- Note: This property will be ignored if `autocompleteCell` is not `nil`.
@@ -38,6 +41,7 @@ open class LUAutocompleteView: UIView {
0 commit comments