We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68c1f4d commit c37c588Copy full SHA for c37c588
inst/www/react-tools/react-tools.js
@@ -21,9 +21,18 @@ window.reactR = (function () {
21
}
22
23
var defaultOptions = {
24
+ // The name of the property on the root tag to use for the width, if
25
+ // it's updated.
26
widthProperty: "width",
27
+ // The name of the property on the root tag to use for the height, if
28
29
heightProperty: "height",
30
+ // Whether or not to append the string 'px' to the width and height
31
+ // properties when they change.
32
appendPx: false,
33
+ // Whether or not to dynamically update the width and height properties
34
+ // of the last known tag when the computed width and height change in
35
+ // the browser.
36
renderOnResize: false
37
};
38
0 commit comments