-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdash_html_components.Div.html
98 lines (86 loc) · 8.96 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
<!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>dash_html_components.Div(children=None, id=undefined, n_clicks=undefined, n_clicks_timestamp=undefined, key=undefined, role=undefined, accessKey=undefined, className=undefined, contentEditable=undefined, contextMenu=undefined, dir=undefined, draggable=undefined, hidden=undefined, lang=undefined, spellCheck=undefined, style=undefined, tabIndex=undefined, title=undefined, loading_state=undefined, **kwargs)<br>
<br>
A Div component.<br>
Div is a wrapper for the <div> HTML5 element.<br>
For detailed attribute info see:<br>
<a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div">https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div</a><br>
<br>
Keyword arguments:<br>
- children (a list of or a singular dash component, string or number; optional): The children of this component<br>
- id (string; 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 (number; default 0): An integer that represents the number of times<br>
that this element has been clicked on.<br>
- n_clicks_timestamp (number; default -1): An integer that represents the time (in ms since 1970)<br>
at which n_clicks changed. This can be used to tell<br>
which button was changed most recently.<br>
- key (string; optional): A unique identifier for the component, used to improve<br>
performance by React.js while rendering components<br>
See <a href="https://reactjs.org/docs/lists-and-keys.html">https://reactjs.org/docs/lists-and-keys.html</a> for more info<br>
- role (string; optional): The ARIA role attribute<br>
- data-* (string; optional): A wildcard data attribute<br>
- aria-* (string; optional): A wildcard aria attribute<br>
- accessKey (string; optional): Keyboard shortcut to activate or add focus to the element.<br>
- className (string; optional): Often used with CSS to style elements with common properties.<br>
- contentEditable (string; optional): Indicates whether the element's content is editable.<br>
- contextMenu (string; optional): Defines the ID of a <menu> element which will serve as the element's context menu.<br>
- dir (string; optional): Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)<br>
- draggable (string; optional): Defines whether the element can be dragged.<br>
- hidden (a value equal to: 'hidden', 'HIDDEN' | boolean; optional): Prevents rendering of given element, while keeping child elements, e.g. script elements, active.<br>
- lang (string; optional): Defines the language used in the element.<br>
- spellCheck (string; optional): Indicates whether spell checking is allowed for the element.<br>
- style (dict; optional): Defines CSS styles which will override styles previously set.<br>
- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead.<br>
- title (string; optional): Text to be displayed in a tooltip when hovering over the element.<br>
- loading_state (dict; optional): Object that holds the loading state object coming from dash-renderer. loading_state has the following type: dict containing keys 'is_loading', 'prop_name', 'component_name'.<br>
Those keys have the following types:<br>
- is_loading (boolean; optional): Determines if the component is loading or not<br>
- prop_name (string; optional): Holds which property is loading<br>
- component_name (string; optional): Holds the name of the component that is loading<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="dash_html_components.Div.html#Div">Div</a></dd>
<dd><a href="dash.development.base_component.html#Component">dash.development.base_component.Component</a></dd>
<dd><a href="builtins.html#object">builtins.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Div-__init__"><strong>__init__</strong></a> = wrapper(self, children=None, id=undefined, n_clicks=undefined, n_clicks_timestamp=undefined, key=undefined, role=undefined, accessKey=undefined, className=undefined, contentEditable=undefined, contextMenu=undefined, dir=undefined, draggable=undefined, hidden=undefined, lang=undefined, spellCheck=undefined, style=undefined, tabIndex=undefined, title=undefined, loading_state=undefined, **kwargs)</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 of<br>
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-__repr__"><strong>__repr__</strong></a>(self)</dt><dd><tt>Return repr(self).</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>
<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>
Data and other attributes inherited from <a href="dash.development.base_component.html#Component">dash.development.base_component.Component</a>:<br>
<dl><dt><strong>REQUIRED</strong> = required</dl>
<dl><dt><strong>UNDEFINED</strong> = undefined</dl>
</td></tr></table>
</body></html>