diff options
author | sotech117 <michael_foiani@brown.edu> | 2025-07-31 17:27:24 -0400 |
---|---|---|
committer | sotech117 <michael_foiani@brown.edu> | 2025-07-31 17:27:24 -0400 |
commit | 5bf22fc7e3c392c8bd44315ca2d06d7dca7d084e (patch) | |
tree | 8dacb0f195df1c0788d36dd0064f6bbaa3143ede /venv/lib/python3.8/site-packages/dash/dcc/Clipboard.py | |
parent | b832d364da8c2efe09e3f75828caf73c50d01ce3 (diff) |
add code for analysis of data
Diffstat (limited to 'venv/lib/python3.8/site-packages/dash/dcc/Clipboard.py')
-rw-r--r-- | venv/lib/python3.8/site-packages/dash/dcc/Clipboard.py | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/venv/lib/python3.8/site-packages/dash/dcc/Clipboard.py b/venv/lib/python3.8/site-packages/dash/dcc/Clipboard.py new file mode 100644 index 0000000..5e3c665 --- /dev/null +++ b/venv/lib/python3.8/site-packages/dash/dcc/Clipboard.py @@ -0,0 +1,99 @@ +# AUTO GENERATED FILE - DO NOT EDIT + +import typing # noqa: F401 +from typing_extensions import TypedDict, NotRequired, Literal # noqa: F401 +from dash.development.base_component import Component, _explicitize_args + +ComponentType = typing.Union[ + str, + int, + float, + Component, + None, + typing.Sequence[typing.Union[str, int, float, Component, None]], +] + +NumberType = typing.Union[ + typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex +] + + +class Clipboard(Component): + """A Clipboard component. + The Clipboard component copies text to the clipboard + + Keyword arguments: + + - id (string; optional): + The ID used to identify this component. + + - className (string; optional): + The class name of the icon element. + + - content (string; optional): + The text to be copied to the clipboard if the `target_id` is None. + + - html_content (string; optional): + The clipboard html text be copied to the clipboard if the + `target_id` is None. + + - n_clicks (number; default 0): + The number of times copy button was clicked. + + - target_id (string | dict; optional): + The id of target component containing text to copy to the + clipboard. The inner text of the `children` prop will be copied to + the clipboard. If none, then the text from the `value` prop will + be copied. + + - title (string; optional): + The text shown as a tooltip when hovering over the copy icon.""" + + _children_props = [] + _base_nodes = ["children"] + _namespace = "dash_core_components" + _type = "Clipboard" + + def __init__( + self, + id: typing.Optional[typing.Union[str, dict]] = None, + target_id: typing.Optional[typing.Union[str, dict]] = None, + content: typing.Optional[str] = None, + n_clicks: typing.Optional[NumberType] = None, + html_content: typing.Optional[str] = None, + title: typing.Optional[str] = None, + style: typing.Optional[typing.Any] = None, + className: typing.Optional[str] = None, + **kwargs + ): + self._prop_names = [ + "id", + "className", + "content", + "html_content", + "n_clicks", + "style", + "target_id", + "title", + ] + self._valid_wildcard_attributes = [] + self.available_properties = [ + "id", + "className", + "content", + "html_content", + "n_clicks", + "style", + "target_id", + "title", + ] + self.available_wildcard_properties = [] + _explicit_args = kwargs.pop("_explicit_args") + _locals = locals() + _locals.update(kwargs) # For wildcard attrs and excess named props + args = {k: _locals[k] for k in _explicit_args} + + super(Clipboard, self).__init__(**args) + + +setattr(Clipboard, "__init__", _explicitize_args(Clipboard.__init__)) |