MCPcopy Create free account
hub / github.com/microsoft/SandDance / resetSize

Function resetSize

docs/app/js/sanddance-app.js:142304–142306  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142302function initializeResize(view) {
142303 var s = view._signals, w = s[Width], h = s[Height], p = s[Padding];
142304 function resetSize() {
142305 view._autosize = view._resize = 1;
142306 } // respond to width signal
142307 view._resizeWidth = view.add(null, (_)=>{
142308 view._width = _.size;
142309 view._viewWidth = viewWidth(view, _.size);

Callers 1

initializeResizeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected