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

Function updateProps

dash/dash-renderer/src/actions/index.js:34–40  ·  view source on GitHub ↗
(payload)

Source from the content-addressed store, hash-verified

32);
33
34export function updateProps(payload) {
35 return (dispatch, getState) => {
36 const component = path(payload.itempath, getState().layout);
37 recordUiEdit(component, payload.props, dispatch);
38 dispatch(onPropChange(payload));
39 };
40}
41
42export const addComponentToLayout = payload => (dispatch, getState) => {
43 const {paths} = getState();

Callers 6

updateComponentFunction · 0.90
set_propsFunction · 0.90
applyPropsFunction · 0.90
processSetPropsFunction · 0.90
ExternalWrapperFunction · 0.90
setPropsFunction · 0.90

Calls 2

recordUiEditFunction · 0.90
getStateFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…