Sets some property on an element
setProperty(`width`, `canvas`, 100); // Set the width property to 100 Copy
setProperty(`width`, `canvas`, 100); // Set the width property to 100
If value is an object, converts to JSON first.
value
Sets some property on an element
If
value
is an object, converts to JSON first.Param: property
Param: selectors
Param: value
Returns