MCPcopy Index your code
hub / github.com/bqplot/bqplot / applyStyles

Function applyStyles

js/src/utils.ts:106–109  ·  view source on GitHub ↗
(d3el, styles)

Source from the content-addressed store, hash-verified

104}
105
106export function applyStyles(d3el, styles) {
107 Object.keys(styles).forEach((key) => d3el.style(key, styles[key]));
108 return d3el;
109}
110
111export function applyAttrs(d3el, styles) {
112 Object.keys(styles).forEach((key) => d3el.attr(key, styles[key]));

Callers 15

renderImplMethod · 0.90
update_titleMethod · 0.90
draw_mapMethod · 0.90
update_font_styleMethod · 0.90
apply_selectedMethod · 0.90
mouseover_handlerMethod · 0.90
set_style_on_elementsMethod · 0.90
clear_styleMethod · 0.90
apply_tick_stylingMethod · 0.90
append_axisMethod · 0.90
update_label_locationMethod · 0.90
rescale_axisMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…