MCPcopy Create free account
hub / github.com/ZeeCoder/container-query / changeRootSize

Function changeRootSize

tests/utils/index.js:55–63  ·  view source on GitHub ↗
({ width, height })

Source from the content-addressed store, hash-verified

53 * @param {int} height
54 */
55export const changeRootSize = ({ width, height }) => {
56 if (width) {
57 root.style.width = `${width}px`;
58 }
59
60 if (height) {
61 root.style.height = `${height}px`;
62 }
63};
64
65/**
66 * @param {string} id

Callers 4

index.jsFile · 0.90
index.jsFile · 0.90
index.jsFile · 0.90
renderTestComponentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected