-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
Copy pathdash_html_components.Div.html
134 lines (109 loc) · 11.1 KB
/
dash_html_components.Div.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: class Div</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body bgcolor="#f0f0f8">
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><strong>dash_html_components.Div</strong> = <a name="dash_html_components.Div">class Div</a>(<a href="dash.development.base_component.html#Component">dash.development.base_component.Component</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>A Div component.<br>
<br>
<br>
Keyword arguments:<br>
- children (optional): The children of this component<br>
- id (optional): The ID of this component, used to identify dash components<br>
in callbacks. The ID needs to be unique across all of the<br>
components in an app.<br>
- n_clicks (optional): An integer that represents the number of times<br>
that this element has been clicked on.<br>
- key (optional): A unique identifier for the component, used to improve<br>
performance by React.js while rendering components<br>
See https://reactjs.org/docs/lists-and-keys.html for more info<br>
- accessKey (optional): Defines a keyboard shortcut to activate or add focus to the element.<br>
- className (optional): Often used with CSS to style elements with common properties.<br>
- contentEditable (optional): Indicates whether the element's content is editable.<br>
- contextMenu (optional): Defines the ID of a <menu> element which will serve as the element's context menu.<br>
- dir (optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)<br>
- draggable (optional): Defines whether the element can be dragged.<br>
- hidden (optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active.<br>
- lang (optional): Defines the language used in the element.<br>
- spellCheck (optional): Indicates whether spell checking is allowed for the element.<br>
- style (optional): Defines CSS styles which will override styles previously set.<br>
- tabIndex (optional): Overrides the browser's default tab order and follows the one specified instead.<br>
- title (optional): Text to be displayed in a tooltip when hovering over the element.<br>
- fireEvent (optional): A callback for firing events to dash.<br>
<br>
Available events:<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd>Div</dd>
<dd><a href="dash.development.base_component.html#Component">dash.development.base_component.Component</a></dd>
<dd><a href="collections.abc.html#MutableMapping">collections.abc.MutableMapping</a></dd>
<dd><a href="collections.abc.html#Mapping">collections.abc.Mapping</a></dd>
<dd><a href="collections.abc.html#Collection">collections.abc.Collection</a></dd>
<dd><a href="collections.abc.html#Sized">collections.abc.Sized</a></dd>
<dd><a href="collections.abc.html#Iterable">collections.abc.Iterable</a></dd>
<dd><a href="collections.abc.html#Container">collections.abc.Container</a></dd>
<dd><a href="builtins.html#object">object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Div-__init__"><strong>__init__</strong></a>(self, children=None, **kwargs)</dt></dl>
<dl><dt><a name="Div-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>__abstractmethods__</strong> = frozenset()</dl>
<hr>
Methods inherited from <a href="dash.development.base_component.html#Component">dash.development.base_component.Component</a>:<br>
<dl><dt><a name="Div-__delitem__"><strong>__delitem__</strong></a>(self, id)</dt><dd><tt>Delete items by ID in the tree of children.</tt></dd></dl>
<dl><dt><a name="Div-__getitem__"><strong>__getitem__</strong></a>(self, id)</dt><dd><tt>Recursively find the element with the given ID through the tree<br>
of children.</tt></dd></dl>
<dl><dt><a name="Div-__iter__"><strong>__iter__</strong></a>(self)</dt><dd><tt>Yield IDs in the tree of children.</tt></dd></dl>
<dl><dt><a name="Div-__len__"><strong>__len__</strong></a>(self)</dt><dd><tt>Return the number of items in the tree.</tt></dd></dl>
<dl><dt><a name="Div-__setitem__"><strong>__setitem__</strong></a>(self, id, item)</dt><dd><tt>Set an element by its ID.</tt></dd></dl>
<dl><dt><a name="Div-to_plotly_json"><strong>to_plotly_json</strong></a>(self)</dt></dl>
<dl><dt><a name="Div-traverse"><strong>traverse</strong></a>(self)</dt><dd><tt>Yield each item in the tree.</tt></dd></dl>
<hr>
Data descriptors inherited from <a href="dash.development.base_component.html#Component">dash.development.base_component.Component</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list of weak references to the object (if defined)</tt></dd>
</dl>
<hr>
Methods inherited from <a href="collections.abc.html#MutableMapping">collections.abc.MutableMapping</a>:<br>
<dl><dt><a name="Div-clear"><strong>clear</strong></a>(self)</dt><dd><tt>D.<a href="#dash_html_components.Div-clear">clear</a>() -> None. Remove all items from D.</tt></dd></dl>
<dl><dt><a name="Div-pop"><strong>pop</strong></a>(self, key, default=<object object at 0x000001328C619050>)</dt><dd><tt>D.<a href="#dash_html_components.Div-pop">pop</a>(k[,d]) -> v, remove specified key and return the corresponding value.<br>
If key is not found, d is returned if given, otherwise KeyError is raised.</tt></dd></dl>
<dl><dt><a name="Div-popitem"><strong>popitem</strong></a>(self)</dt><dd><tt>D.<a href="#dash_html_components.Div-popitem">popitem</a>() -> (k, v), remove and return some (key, value) pair<br>
as a 2-tuple; but raise KeyError if D is empty.</tt></dd></dl>
<dl><dt><a name="Div-setdefault"><strong>setdefault</strong></a>(self, key, default=None)</dt><dd><tt>D.<a href="#dash_html_components.Div-setdefault">setdefault</a>(k[,d]) -> D.<a href="#dash_html_components.Div-get">get</a>(k,d), also set D[k]=d if k not in D</tt></dd></dl>
<dl><dt><a name="Div-update"><strong>update</strong></a>(*args, **kwds)</dt><dd><tt>D.<a href="#dash_html_components.Div-update">update</a>([E, ]**F) -> None. Update D from mapping/iterable E and F.<br>
If E present and has a .<a href="#dash_html_components.Div-keys">keys</a>() method, does: for k in E: D[k] = E[k]<br>
If E present and lacks .<a href="#dash_html_components.Div-keys">keys</a>() method, does: for (k, v) in E: D[k] = v<br>
In either case, this is followed by: for k, v in F.<a href="#dash_html_components.Div-items">items</a>(): D[k] = v</tt></dd></dl>
<hr>
Methods inherited from <a href="collections.abc.html#Mapping">collections.abc.Mapping</a>:<br>
<dl><dt><a name="Div-__contains__"><strong>__contains__</strong></a>(self, key)</dt></dl>
<dl><dt><a name="Div-__eq__"><strong>__eq__</strong></a>(self, other)</dt><dd><tt>Return self==value.</tt></dd></dl>
<dl><dt><a name="Div-get"><strong>get</strong></a>(self, key, default=None)</dt><dd><tt>D.<a href="#dash_html_components.Div-get">get</a>(k[,d]) -> D[k] if k in D, else d. d defaults to None.</tt></dd></dl>
<dl><dt><a name="Div-items"><strong>items</strong></a>(self)</dt><dd><tt>D.<a href="#dash_html_components.Div-items">items</a>() -> a set-like object providing a view on D's items</tt></dd></dl>
<dl><dt><a name="Div-keys"><strong>keys</strong></a>(self)</dt><dd><tt>D.<a href="#dash_html_components.Div-keys">keys</a>() -> a set-like object providing a view on D's keys</tt></dd></dl>
<dl><dt><a name="Div-values"><strong>values</strong></a>(self)</dt><dd><tt>D.<a href="#dash_html_components.Div-values">values</a>() -> an object providing a view on D's values</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="collections.abc.html#Mapping">collections.abc.Mapping</a>:<br>
<dl><dt><strong>__hash__</strong> = None</dl>
<dl><dt><strong>__reversed__</strong> = None</dl>
<hr>
Class methods inherited from <a href="collections.abc.html#Collection">collections.abc.Collection</a>:<br>
<dl><dt><a name="Div-__subclasshook__"><strong>__subclasshook__</strong></a>(C)<font color="#909090"><font face="helvetica, arial"> from <a href="abc.html#ABCMeta">abc.ABCMeta</a></font></font></dt><dd><tt>Abstract classes can override this to customize issubclass().<br>
<br>
This is invoked early on by abc.ABCMeta.__subclasscheck__().<br>
It should return True, False or NotImplemented. If it returns<br>
NotImplemented, the normal algorithm is used. Otherwise, it<br>
overrides the normal algorithm (and the outcome is cached).</tt></dd></dl>
</td></tr></table>
</body></html>