MCPcopy Create free account
hub / github.com/plotly/dash / HoldKeyContext

Class HoldKeyContext

components/dash-table/tests/selenium/conftest.py:121–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119
120
121class HoldKeyContext:
122 @preconditions(_validate_mixin, _validate_key)
123 def __init__(self, mixin, key):
124 self.mixin = mixin
125 self.key = key
126
127 def __enter__(self):
128 ActionChains(self.mixin.driver).key_down(self.key).perform()
129
130 def __exit__(self, type, value, traceback):
131 ActionChains(self.mixin.driver).key_up(self.key).perform()
132
133
134class DataTableCellFacade(object):

Callers 1

holdMethod · 0.85

Calls

no outgoing calls

Tested by 1

holdMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…