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

Function getTooltipsState

components/dash-table/demo/AppMode.ts:184–249  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

182}
183
184function getTooltipsState() {
185 const state = getDefaultState();
186
187 state.tableProps.tooltip_delay = 250;
188 state.tableProps.tooltip_duration = 1000;
189 state.tableProps.tooltip_data = [
190 {
191 ccc: {
192 type: TooltipSyntax.Markdown,
193 value: "### Go Proverb\nThe enemy's key point is yours"
194 }
195 },
196 {
197 ccc: {
198 type: TooltipSyntax.Markdown,
199 value: '### Go Proverb\nPlay on the point of symmetry'
200 }
201 },
202 {
203 ccc: {
204 type: TooltipSyntax.Markdown,
205 value: '### Go Proverb\nSente gains nothing'
206 }
207 },
208 {
209 ccc: {
210 type: TooltipSyntax.Text,
211 value: 'Beware of going back to patch up'
212 }
213 },
214 {ccc: {type: TooltipSyntax.Text, value: 'When in doubt, Tenuki'}},
215 {ccc: 'People in glass houses should not throw stones'}
216 ];
217 state.tableProps.tooltip = {
218 ccc: {type: TooltipSyntax.Text, value: 'There is death in the hane'},
219 ddd: {type: TooltipSyntax.Markdown, value: 'Hane, Cut, Placement'},
220 rows: 'Learn the eyestealing tesuji'
221 };
222 state.tableProps.tooltip_conditional = [
223 {
224 if: {
225 column_id: 'aaa-readonly',
226 filter_query: '{aaa} is prime'
227 },
228 type: TooltipSyntax.Markdown,
229 value: '### Go Proverbs\nCapture three to get an eye'
230 },
231 {
232 if: {
233 column_id: 'bbb-readonly',
234 row_index: 'odd'
235 },
236 type: TooltipSyntax.Markdown,
237 value: '### Go Proverbs\nSix die but eight live'
238 },
239 {
240 if: {
241 column_id: 'bbb-readonly'

Callers 1

getModeStateFunction · 0.85

Calls 1

getDefaultStateFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…