Black Lives Matter. Please consider donating to Black Girls Code today.

Dash callback from div updated by jquery

Is it possible to get a dash callback to fire if jquery updates the value of an HTML element, I don’t mind what type of element it will be as it will be hidden.

It will be used to get the current viewport width into a function which creates a graph so that I can format the graph differently on a mobile device compared to a desktop.

You can’t really combine jQuery features that involve DOM manipulation with Dash, as its use of React means that they will both be fighting over access to the DOM.