altair.BindDirect#
- class altair.BindDirect(element=Undefined, debounce=Undefined, event=Undefined, **kwds)#
BindDirect schema wrapper.
- Parameters:
- elementstr, dict,
Element
An input element that exposes a value property and supports the EventTarget interface, or a CSS selector string to such an element. When the element updates and dispatches an event, the value property will be used as the new, bound signal value. When the signal updates independent of the element, the value property will be set to the signal value and a new event will be dispatched on the element.
- debouncefloat
If defined, delays event handling until the specified milliseconds have elapsed since the last event was fired.
- eventstr
The event (default
"input"
) to listen for to track changes on the external element.
- elementstr, dict,
- __init__(element=Undefined, debounce=Undefined, event=Undefined, **kwds)#
Methods
__init__
([element, debounce, event])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.