@@ -11,36 +11,66 @@ class DashTextareaAutocomplete(Component):
1111enabling auto-completion in multi-line `<textarea>` elements.
1212
1313Keyword arguments:
14- - id (string; optional): The ID used to identify this component in Dash callbacks.
15- - value (string; optional): The value displayed in the <textarea>.
16- - placeholder (string; optional): Provides a hint to the user of what can be entered in the <textarea> field.
17- - wordList (list; required): List of string available for auto-completion.
18- - triggerChar (string; default ":"): Character that triggers auto-completion machinery.
19- Defaults to `:`. (from `react-textarea-autocomplete`)
20- - minChar (number; default 1): Number of characters that user should type for trigger a suggestion.
21- Defaults to 1. (from `react-textarea-autocomplete`)
22- - className (string; optional): Class names of the <textarea> (from `react-textarea-autocomplete`).
23- - containerClassName (string; optional): Class names of the textarea container (from `react-textarea-autocomplete`).
24- - style (dict; optional): Style of the <textarea>.(from `react-textarea-autocomplete`).
25- - listStyle (dict; optional): Style of the list wrapper (from `react-textarea-autocomplete`).
26- - itemStyle (dict; optional): Styles of the items wrapper.
27- - loaderStyle (dict; optional): Style of the loader wrapper (from `react-textarea-autocomplete`).
28- - containerStyle (dict; optional): Styles of the textarea container (from `react-textarea-autocomplete`).
29- - dropdownStyle (dict; optional): Styles of the dropdown wrapper."""
14+
15+ - id (string; optional):
16+ The ID used to identify this component in Dash callbacks.
17+
18+ - className (string; optional):
19+ Class names of the <textarea> (from
20+ `react-textarea-autocomplete`).
21+
22+ - containerClassName (string; optional):
23+ Class names of the textarea container (from
24+ `react-textarea-autocomplete`).
25+
26+ - containerStyle (dict; optional):
27+ Styles of the textarea container (from
28+ `react-textarea-autocomplete`).
29+
30+ - dropdownStyle (dict; optional):
31+ Styles of the dropdown wrapper.
32+
33+ - itemStyle (dict; optional):
34+ Styles of the items wrapper.
35+
36+ - listStyle (dict; optional):
37+ Style of the list wrapper (from `react-textarea-autocomplete`).
38+
39+ - loaderStyle (dict; optional):
40+ Style of the loader wrapper (from `react-textarea-autocomplete`).
41+
42+ - minChar (number; default 1):
43+ Number of characters that user should type for trigger a
44+ suggestion. Defaults to 1. (from `react-textarea-autocomplete`).
45+
46+ - placeholder (string; optional):
47+ Provides a hint to the user of what can be entered in the
48+ <textarea> field.
49+
50+ - style (dict; optional):
51+ Style of the <textarea>.(from `react-textarea-autocomplete`).
52+
53+ - triggerChar (string; default ":"):
54+ Character that triggers auto-completion machinery. Defaults to
55+ `:`. (from `react-textarea-autocomplete`).
56+
57+ - value (string; optional):
58+ The value displayed in the <textarea>.
59+
60+ - wordList (list; required):
61+ List of string available for auto-completion."""
3062 @_explicitize_args
3163 def __init__ (self , id = Component .UNDEFINED , value = Component .UNDEFINED , placeholder = Component .UNDEFINED , wordList = Component .REQUIRED , triggerChar = Component .UNDEFINED , minChar = Component .UNDEFINED , className = Component .UNDEFINED , containerClassName = Component .UNDEFINED , style = Component .UNDEFINED , listStyle = Component .UNDEFINED , itemStyle = Component .UNDEFINED , loaderStyle = Component .UNDEFINED , containerStyle = Component .UNDEFINED , dropdownStyle = Component .UNDEFINED , ** kwargs ):
32- self ._prop_names = ['id' , 'value ' , 'placeholder ' , 'wordList ' , 'triggerChar ' , 'minChar ' , 'className ' , 'containerClassName ' , 'style ' , 'listStyle ' , 'itemStyle ' , 'loaderStyle ' , 'containerStyle ' , 'dropdownStyle ' ]
64+ self ._prop_names = ['id' , 'className ' , 'containerClassName ' , 'containerStyle ' , 'dropdownStyle ' , 'itemStyle ' , 'listStyle ' , 'loaderStyle ' , 'minChar ' , 'placeholder ' , 'style ' , 'triggerChar ' , 'value ' , 'wordList ' ]
3365 self ._type = 'DashTextareaAutocomplete'
3466 self ._namespace = 'dash_textarea_autocomplete'
3567 self ._valid_wildcard_attributes = []
36- self .available_properties = ['id' , 'value ' , 'placeholder ' , 'wordList ' , 'triggerChar ' , 'minChar ' , 'className ' , 'containerClassName ' , 'style ' , 'listStyle ' , 'itemStyle ' , 'loaderStyle ' , 'containerStyle ' , 'dropdownStyle ' ]
68+ self .available_properties = ['id' , 'className ' , 'containerClassName ' , 'containerStyle ' , 'dropdownStyle ' , 'itemStyle ' , 'listStyle ' , 'loaderStyle ' , 'minChar ' , 'placeholder ' , 'style ' , 'triggerChar ' , 'value ' , 'wordList ' ]
3769 self .available_wildcard_properties = []
38-
3970 _explicit_args = kwargs .pop ('_explicit_args' )
4071 _locals = locals ()
4172 _locals .update (kwargs ) # For wildcard attrs
4273 args = {k : _locals [k ] for k in _explicit_args if k != 'children' }
43-
4474 for k in ['wordList' ]:
4575 if k not in args :
4676 raise TypeError (
0 commit comments