altair.BindCheckbox#
- class altair.BindCheckbox(input=Undefined, debounce=Undefined, element=Undefined, name=Undefined, **kwds)#
BindCheckbox 模式封装器。
- 参数:
- inputLiteral[‘checkbox’]
- debouncefloat
如果已定义,则将事件处理延迟到自上次事件触发后经过指定的毫秒数为止。
- elementstr,
Element
可选的 CSS 选择器字符串,指示应将输入元素添加到哪个父元素。默认情况下,所有输入元素都添加在 Vega 视图的父容器内。
- namestr
默认情况下,信号名称用于标记输入元素。此
name
属性可用于指定绑定信号的自定义标签。
- __init__(input=Undefined, debounce=Undefined, element=Undefined, name=Undefined, **kwds)#
方法
__init__
([input, debounce, element, name])copy
([deep, ignore])返回对象的副本。
from_dict
(dct[, validate])从字典表示构造类。
from_json
(json_string[, validate])从有效的 JSON 字符串实例化对象。
resolve_references
([schema])在此对象模式或根模式的上下文中解析引用。
to_dict
([validate, ignore, context])返回对象的字典表示。
to_json
([validate, indent, sort_keys, ...])将此对象的 JSON 表示作为字符串发出。
validate
(instance[, schema])在根模式的上下文中根据类模式验证实例。
validate_property
(name, value[, schema])在根模式的上下文中根据属性模式验证属性。