Commit e2ddd96
Add support for injectedJavaScript, style.width and style.height (#14)
* Add support for injectedJavaScript
* Add support for style.width and style.height
* Fix injectedJavaScript when srcDoc is undefined
* Fix injectedJavaScript() when this.props.injectedJavaScript is undefined
* Refactor to handleInjectedJavaScript(). Refactor width and height.
* width and height use the result of StyleSheet.flatten()1 parent 4006e87 commit e2ddd96
1 file changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
91 | 103 | | |
92 | 104 | | |
93 | 105 | | |
| |||
98 | 110 | | |
99 | 111 | | |
100 | 112 | | |
| 113 | + | |
101 | 114 | | |
102 | 115 | | |
103 | 116 | | |
104 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
105 | 120 | | |
106 | 121 | | |
107 | 122 | | |
| |||
0 commit comments