altair.BindInput#
- class altair.BindInput(autocomplete=Undefined, debounce=Undefined, element=Undefined, input=Undefined, name=Undefined, placeholder=Undefined, **kwds)#
BindInput schema wrapper.
- Parameters:
- autocompletestr
A hint for form autofill. See the HTML autocomplete attribute for additional information.
- debouncefloat
If defined, delays event handling until the specified milliseconds have elapsed since the last event was fired.
- elementstr,
Element
An optional CSS selector string indicating the parent element to which the input element should be added. By default, all input elements are added within the parent container of the Vega view.
- inputstr
The type of input element to use. The valid values are
"checkbox"
,"radio"
,"range"
,"select"
, and any other legal HTML form input type.- namestr
By default, the signal name is used to label input elements. This
name
property can be used instead to specify a custom label for the bound signal.- placeholderstr
Text that appears in the form control when it has no value set.
- __init__(autocomplete=Undefined, debounce=Undefined, element=Undefined, input=Undefined, name=Undefined, placeholder=Undefined, **kwds)#
Methods
__init__
([autocomplete, debounce, element, ...])copy
([deep, ignore])Return a copy of the object.
from_dict
(dct[, validate])Construct class from a dictionary representation.
from_json
(json_string[, validate])Instantiate the object from a valid JSON string.
resolve_references
([schema])Resolve references in the context of this object's schema or root schema.
to_dict
([validate, ignore, context])Return a dictionary representation of the object.
to_json
([validate, indent, sort_keys, ...])Emit the JSON representation for this object as a string.
validate
(instance[, schema])Validate the instance against the class schema in the context of the rootschema.
validate_property
(name, value[, schema])Validate a property against property schema in the context of the rootschema.