MCPcopy Index your code
hub / github.com/plotly/dash / Output

Class Output

dash/html/Output.py:24–203  ·  view source on GitHub ↗

An Output component. Output is a wrapper for the HTML5 element. CAUTION: is included for completeness, but its typical usage requires the oninput attribute of the enclosing element, which is not accessible to Dash. For detailed attribute info see: h

Source from the content-addressed store, hash-verified

22
23
24class Output(Component):
25 """An Output component.
26 Output is a wrapper for the <output> HTML5 element.
27
28 CAUTION: <output> is included for completeness, but its typical usage
29 requires the oninput attribute of the enclosing <form> element, which
30 is not accessible to Dash.
31
32 For detailed attribute info see:
33 https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output
34
35 Keyword arguments:
36
37 - children (a list of or a singular dash component, string or number; optional):
38 The children of this component.
39
40 - id (string; optional):
41 The ID of this component, used to identify dash components in
42 callbacks. The ID needs to be unique across all of the components
43 in an app.
44
45 - accessKey (string; optional):
46 Keyboard shortcut to activate or add focus to the element.
47
48 - aria-* (string; optional):
49 A wildcard aria attribute.
50
51 - className (string; optional):
52 Often used with CSS to style elements with common properties.
53
54 - contentEditable (string; optional):
55 Indicates whether the element&#x27;s content is editable.
56
57 - data-* (string; optional):
58 A wildcard data attribute.
59
60 - dir (string; optional):
61 Defines the text direction. Allowed values are ltr (Left-To-Right)
62 or rtl (Right-To-Left).
63
64 - disable_n_clicks (boolean; optional):
65 When True, this will disable the n_clicks prop. Use this to
66 remove event listeners that may interfere with screen readers.
67
68 - draggable (string; optional):
69 Defines whether the element can be dragged.
70
71 - form (string; optional):
72 Indicates the form that is the owner of the element.
73
74 - hidden (a value equal to: 'hidden', 'HIDDEN' | boolean; optional):
75 Prevents rendering of given element, while keeping child elements,
76 e.g. script elements, active.
77
78 - htmlFor (string; optional):
79 Describes elements which belongs to this one.
80
81 - key (string; optional):

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…