generator-white-label 3.0.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (334) hide show
  1. package/README.md +140 -81
  2. package/app/404.hbs +20 -0
  3. package/app/README.md +19 -0
  4. package/app/assets/data/view/toolkit/colors.json +17 -0
  5. package/app/assets/data/view/toolkit/components.json +39 -0
  6. package/app/assets/data/view/toolkit/elements.json +119 -0
  7. package/app/assets/data/view/toolkit/grids.json +17 -0
  8. package/app/assets/data/view/toolkit/icons.json +17 -0
  9. package/app/assets/data/view/toolkit/index.json +17 -0
  10. package/app/assets/data/view/toolkit/type.json +17 -0
  11. package/app/assets/font/opensans/stylesheet.css +20 -60
  12. package/app/assets/image/demo/fallback.avif +0 -0
  13. package/app/assets/image/demo/fallback.jpg +0 -0
  14. package/app/assets/image/demo/fallback.webp +0 -0
  15. package/app/assets/image/demo/large.avif +0 -0
  16. package/app/assets/image/demo/large.webp +0 -0
  17. package/app/assets/image/demo/small.avif +0 -0
  18. package/app/assets/image/demo/small.webp +0 -0
  19. package/app/assets/markup/element/a.hbs +29 -0
  20. package/app/assets/markup/element/button.hbs +30 -0
  21. package/app/assets/markup/element/div.hbs +11 -0
  22. package/app/assets/markup/element/head.hbs +78 -0
  23. package/app/assets/markup/element/iframe.hbs +20 -0
  24. package/app/assets/markup/element/img.hbs +30 -0
  25. package/app/assets/markup/element/input.hbs +43 -0
  26. package/app/assets/markup/element/label.hbs +14 -0
  27. package/app/assets/markup/element/legend.hbs +5 -0
  28. package/app/assets/markup/element/meta.hbs +11 -0
  29. package/app/assets/markup/element/nav.hbs +13 -0
  30. package/app/assets/markup/element/p.hbs +8 -0
  31. package/app/assets/markup/element/picture.hbs +58 -0
  32. package/app/assets/markup/element/script.hbs +3 -0
  33. package/app/assets/markup/element/select.hbs +35 -0
  34. package/app/assets/markup/element/span.hbs +8 -0
  35. package/app/assets/markup/element/svg.hbs +11 -0
  36. package/app/assets/markup/element/table.hbs +50 -0
  37. package/app/assets/markup/element/textarea.hbs +24 -0
  38. package/app/assets/markup/element/ul.hbs +13 -0
  39. package/app/assets/markup/modal/modal-example-1.handlebars +8 -0
  40. package/app/assets/markup/toolkit/accessibility-skip-to-element-1.handlebars +1 -0
  41. package/app/assets/markup/toolkit/accessibility-speaker-1.handlebars +1 -0
  42. package/app/assets/markup/toolkit/anchor-1.handlebars +1 -0
  43. package/app/assets/markup/toolkit/button-1.handlebars +1 -0
  44. package/app/assets/markup/toolkit/footer-1.handlebars +3 -0
  45. package/app/assets/markup/toolkit/header-1.handlebars +1 -0
  46. package/app/assets/markup/toolkit/heading-1.handlebars +1 -0
  47. package/app/assets/markup/toolkit/heading-2.handlebars +1 -0
  48. package/app/assets/markup/toolkit/heading-3.handlebars +1 -0
  49. package/app/assets/markup/toolkit/heading-4.handlebars +1 -0
  50. package/app/assets/markup/toolkit/image-1.handlebars +1 -0
  51. package/app/assets/markup/toolkit/input-checkbox-1.handlebars +1 -0
  52. package/app/assets/markup/toolkit/input-error-1.handlebars +8 -0
  53. package/app/assets/markup/toolkit/input-radio-1.handlebars +1 -0
  54. package/app/assets/markup/toolkit/input-text-1.handlebars +1 -0
  55. package/app/assets/markup/toolkit/label-1.handlebars +1 -0
  56. package/app/assets/markup/toolkit/legend-1.handlebars +1 -0
  57. package/app/assets/markup/toolkit/list-1.handlebars +1 -0
  58. package/app/assets/markup/toolkit/modal-1.handlebars +4 -0
  59. package/app/assets/markup/toolkit/nav-1.handlebars +1 -0
  60. package/app/assets/markup/toolkit/picture-1.handlebars +1 -0
  61. package/app/assets/markup/toolkit/select-1.handlebars +1 -0
  62. package/app/assets/markup/toolkit/table-1.handlebars +1 -0
  63. package/app/assets/markup/toolkit/text-1.handlebars +1 -0
  64. package/app/assets/markup/toolkit/textarea-1.handlebars +1 -0
  65. package/app/assets/markup/toolkit/youtube-player-1.handlebars +1 -0
  66. package/app/assets/script/api/facebook.ts +41 -0
  67. package/app/assets/script/api/youtube.ts +22 -0
  68. package/app/assets/script/index.ts +2 -0
  69. package/app/assets/script/mediator/global.ts +4 -0
  70. package/app/assets/script/model/singletons/countries.ts +5 -0
  71. package/app/assets/script/model/singletons/global.ts +5 -0
  72. package/app/assets/script/model/singletons/states.ts +5 -0
  73. package/app/assets/script/model/user.ts +4 -0
  74. package/app/assets/script/toolkit.ts +11 -0
  75. package/app/assets/script/types.d.ts +16 -0
  76. package/app/assets/script/utility/ajax.ts +15 -0
  77. package/app/assets/script/utility/form.ts +119 -0
  78. package/app/assets/script/utility/{regex.js → regex.ts} +15 -6
  79. package/app/assets/script/utility/share.ts +77 -0
  80. package/app/assets/script/utility/string.ts +148 -0
  81. package/app/assets/script/view/default.tsx +14 -0
  82. package/app/assets/script/view/toolkit/youtube-player-1.ts +31 -0
  83. package/app/assets/style/base/_toolkit.scss +31 -15
  84. package/app/assets/style/base/components/_modal-1.scss +80 -0
  85. package/app/assets/style/base/components/_sticky-1.scss +19 -0
  86. package/app/assets/style/base/components/_tabpanel-1.scss +115 -0
  87. package/app/assets/style/base/components/_tabpanel-2.scss +64 -0
  88. package/app/assets/style/base/components/_tabpanel-base-1.scss +13 -0
  89. package/app/assets/style/base/components/_youtube-player-1.scss +16 -0
  90. package/app/assets/style/base/elements/_anchors.scss +12 -0
  91. package/app/assets/style/base/elements/_buttons.scss +15 -0
  92. package/app/assets/style/base/elements/_fieldsets.scss +9 -0
  93. package/app/assets/style/base/elements/_images.scss +6 -2
  94. package/app/assets/style/base/elements/_inputs.scss +70 -0
  95. package/app/assets/style/base/elements/_labels.scss +8 -0
  96. package/app/assets/style/base/elements/_landmarks.scss +3 -0
  97. package/app/assets/style/base/elements/_legends.scss +11 -0
  98. package/app/assets/style/base/elements/_lists.scss +8 -1
  99. package/app/assets/style/base/elements/_tables.scss +32 -1
  100. package/app/assets/style/base/layouts/_staggered-1.scss +29 -0
  101. package/app/assets/style/base/type/_fonts.scss +39 -1
  102. package/app/assets/style/base/type/_headings.scss +29 -0
  103. package/app/assets/style/base/type/_text.scss +2 -0
  104. package/app/assets/style/base/utilities/_accessibility.scss +5 -2
  105. package/app/assets/style/base/utilities/_functions.scss +62 -9
  106. package/app/assets/style/global.scss +108 -10
  107. package/app/assets/style/print.scss +2 -3
  108. package/app/assets/style/toolkit.scss +387 -0
  109. package/app/index.hbs +21 -0
  110. package/app/package.json +1 -0
  111. package/app/toolkit/colors.hbs +102 -0
  112. package/app/toolkit/components.hbs +261 -0
  113. package/app/toolkit/elements.hbs +497 -0
  114. package/app/toolkit/grids.hbs +413 -0
  115. package/app/toolkit/icons.hbs +87 -0
  116. package/app/toolkit/index.hbs +144 -0
  117. package/app/toolkit/type.hbs +120 -0
  118. package/dist/app/assets/data/coutries.json +992 -0
  119. package/dist/app/assets/data/states.json +204 -0
  120. package/dist/app/assets/script/api/facebook.d.ts +8 -0
  121. package/dist/app/assets/script/api/facebook.js +42 -0
  122. package/dist/app/assets/script/api/facebook.js.map +1 -0
  123. package/dist/app/assets/script/api/youtube.d.ts +8 -0
  124. package/dist/app/assets/script/api/youtube.js +22 -0
  125. package/dist/app/assets/script/api/youtube.js.map +1 -0
  126. package/dist/app/assets/script/index.d.ts +2 -0
  127. package/dist/app/assets/script/index.js +2 -0
  128. package/dist/app/assets/script/index.js.map +1 -0
  129. package/dist/app/assets/script/mediator/global.d.ts +4 -0
  130. package/dist/app/assets/script/mediator/global.js +4 -0
  131. package/dist/app/assets/script/mediator/global.js.map +1 -0
  132. package/dist/app/assets/script/model/singletons/countries.d.ts +20 -0
  133. package/dist/app/assets/script/model/singletons/countries.js +5 -0
  134. package/dist/app/assets/script/model/singletons/countries.js.map +1 -0
  135. package/dist/app/assets/script/model/singletons/global.d.ts +20 -0
  136. package/dist/app/assets/script/model/singletons/global.js +5 -0
  137. package/dist/app/assets/script/model/singletons/global.js.map +1 -0
  138. package/dist/app/assets/script/model/singletons/states.d.ts +20 -0
  139. package/dist/app/assets/script/model/singletons/states.js +5 -0
  140. package/dist/app/assets/script/model/singletons/states.js.map +1 -0
  141. package/dist/app/assets/script/model/user.d.ts +4 -0
  142. package/dist/app/assets/script/model/user.js +6 -0
  143. package/dist/app/assets/script/model/user.js.map +1 -0
  144. package/dist/app/assets/script/toolkit.d.ts +1 -0
  145. package/dist/app/assets/script/toolkit.js +7 -0
  146. package/dist/app/assets/script/toolkit.js.map +1 -0
  147. package/dist/app/assets/script/utility/ajax.d.ts +8 -0
  148. package/dist/app/assets/script/utility/ajax.js +17 -0
  149. package/dist/app/assets/script/utility/ajax.js.map +1 -0
  150. package/dist/app/assets/script/utility/form.d.ts +64 -0
  151. package/dist/app/assets/script/utility/form.js +111 -0
  152. package/dist/app/assets/script/utility/form.js.map +1 -0
  153. package/dist/app/assets/script/utility/regex.d.ts +14 -0
  154. package/dist/app/assets/script/utility/regex.js +27 -0
  155. package/dist/app/assets/script/utility/regex.js.map +1 -0
  156. package/dist/app/assets/script/utility/share.d.ts +68 -0
  157. package/dist/app/assets/script/utility/share.js +81 -0
  158. package/dist/app/assets/script/utility/share.js.map +1 -0
  159. package/dist/app/assets/script/utility/string.d.ts +64 -0
  160. package/dist/app/assets/script/utility/string.js +135 -0
  161. package/dist/app/assets/script/utility/string.js.map +1 -0
  162. package/dist/app/assets/script/view/default.d.ts +11 -0
  163. package/dist/app/assets/script/view/default.js +15 -0
  164. package/dist/app/assets/script/view/default.js.map +1 -0
  165. package/dist/app/assets/script/view/toolkit/youtube-player-1.d.ts +23 -0
  166. package/dist/app/assets/script/view/toolkit/youtube-player-1.js +32 -0
  167. package/dist/app/assets/script/view/toolkit/youtube-player-1.js.map +1 -0
  168. package/dist/generators/app/index.d.ts +18 -0
  169. package/dist/generators/app/index.js +59 -0
  170. package/dist/generators/app/index.js.map +1 -0
  171. package/dist/scripts/build.d.ts +22 -0
  172. package/dist/scripts/build.js +158 -0
  173. package/dist/scripts/build.js.map +1 -0
  174. package/generators/app/index.js +2 -43
  175. package/generators/app/index.ts +61 -0
  176. package/package.json +78 -109
  177. package/scripts/build.ts +175 -0
  178. package/tsconfig.site.json +26 -0
  179. package/.babelrc +0 -7
  180. package/.editorconfig +0 -13
  181. package/.eslintrc +0 -64
  182. package/.htmllintrc +0 -6
  183. package/.npmignore +0 -12
  184. package/.sass-lint.yml +0 -16
  185. package/.travis.yml +0 -18
  186. package/app/assets/font/opensans/generator_config.txt +0 -5
  187. package/app/assets/font/opensans/opensans-bold-webfont.eot +0 -0
  188. package/app/assets/font/opensans/opensans-bold-webfont.svg +0 -1824
  189. package/app/assets/font/opensans/opensans-bold-webfont.ttf +0 -0
  190. package/app/assets/font/opensans/opensans-bold-webfont.woff +0 -0
  191. package/app/assets/font/opensans/opensans-bolditalic-webfont.eot +0 -0
  192. package/app/assets/font/opensans/opensans-bolditalic-webfont.svg +0 -1824
  193. package/app/assets/font/opensans/opensans-bolditalic-webfont.ttf +0 -0
  194. package/app/assets/font/opensans/opensans-bolditalic-webfont.woff +0 -0
  195. package/app/assets/font/opensans/opensans-extrabold-webfont.eot +0 -0
  196. package/app/assets/font/opensans/opensans-extrabold-webfont.svg +0 -1824
  197. package/app/assets/font/opensans/opensans-extrabold-webfont.ttf +0 -0
  198. package/app/assets/font/opensans/opensans-extrabold-webfont.woff +0 -0
  199. package/app/assets/font/opensans/opensans-extrabolditalic-webfont.eot +0 -0
  200. package/app/assets/font/opensans/opensans-extrabolditalic-webfont.svg +0 -1824
  201. package/app/assets/font/opensans/opensans-extrabolditalic-webfont.ttf +0 -0
  202. package/app/assets/font/opensans/opensans-extrabolditalic-webfont.woff +0 -0
  203. package/app/assets/font/opensans/opensans-italic-webfont.eot +0 -0
  204. package/app/assets/font/opensans/opensans-italic-webfont.svg +0 -1824
  205. package/app/assets/font/opensans/opensans-italic-webfont.ttf +0 -0
  206. package/app/assets/font/opensans/opensans-italic-webfont.woff +0 -0
  207. package/app/assets/font/opensans/opensans-light-webfont.eot +0 -0
  208. package/app/assets/font/opensans/opensans-light-webfont.svg +0 -1824
  209. package/app/assets/font/opensans/opensans-light-webfont.ttf +0 -0
  210. package/app/assets/font/opensans/opensans-light-webfont.woff +0 -0
  211. package/app/assets/font/opensans/opensans-lightitalic-webfont.eot +0 -0
  212. package/app/assets/font/opensans/opensans-lightitalic-webfont.svg +0 -1824
  213. package/app/assets/font/opensans/opensans-lightitalic-webfont.ttf +0 -0
  214. package/app/assets/font/opensans/opensans-lightitalic-webfont.woff +0 -0
  215. package/app/assets/font/opensans/opensans-regular-webfont.eot +0 -0
  216. package/app/assets/font/opensans/opensans-regular-webfont.svg +0 -1824
  217. package/app/assets/font/opensans/opensans-regular-webfont.ttf +0 -0
  218. package/app/assets/font/opensans/opensans-regular-webfont.woff +0 -0
  219. package/app/assets/font/opensans/opensans-semibold-webfont.eot +0 -0
  220. package/app/assets/font/opensans/opensans-semibold-webfont.svg +0 -1824
  221. package/app/assets/font/opensans/opensans-semibold-webfont.ttf +0 -0
  222. package/app/assets/font/opensans/opensans-semibold-webfont.woff +0 -0
  223. package/app/assets/font/opensans/opensans-semibolditalic-webfont.eot +0 -0
  224. package/app/assets/font/opensans/opensans-semibolditalic-webfont.svg +0 -1824
  225. package/app/assets/font/opensans/opensans-semibolditalic-webfont.ttf +0 -0
  226. package/app/assets/font/opensans/opensans-semibolditalic-webfont.woff +0 -0
  227. package/app/assets/font/opensans/specimen_files/grid_12-825-55-15.css +0 -129
  228. package/app/assets/font/opensans/specimen_files/specimen_stylesheet.css +0 -396
  229. package/app/assets/script/index.js +0 -11
  230. package/app/assets/script/mediator/global.js +0 -5
  231. package/app/assets/script/model/singletons/countries.js +0 -6
  232. package/app/assets/script/model/singletons/global.js +0 -6
  233. package/app/assets/script/model/singletons/states.js +0 -6
  234. package/app/assets/script/model/user.js +0 -5
  235. package/app/assets/script/utility/form.js +0 -86
  236. package/app/assets/script/utility/share.js +0 -52
  237. package/app/assets/script/utility/string.js +0 -70
  238. package/app/assets/script/view/default.js +0 -11
  239. package/app/assets/style/base/vendor/_foundation.scss +0 -2
  240. package/app/assets/test/spec/shareSpec.js +0 -137
  241. package/app/index.html +0 -43
  242. package/app/report/istanbul/base.css +0 -213
  243. package/app/report/istanbul/index.html +0 -93
  244. package/app/report/istanbul/prettify.css +0 -1
  245. package/app/report/istanbul/prettify.js +0 -1
  246. package/app/report/istanbul/sort-arrow-sprite.png +0 -0
  247. package/app/report/istanbul/sorter.js +0 -158
  248. package/app/report/istanbul/utility/form.js.html +0 -524
  249. package/app/report/istanbul/utility/index.html +0 -132
  250. package/app/report/istanbul/utility/regex.js.html +0 -203
  251. package/app/report/istanbul/utility/share.js.html +0 -401
  252. package/app/report/istanbul/utility/string.js.html +0 -446
  253. package/app/report/jsdoc/DragEvent.html +0 -303
  254. package/app/report/jsdoc/Event.html +0 -773
  255. package/app/report/jsdoc/EventPropagators.html +0 -336
  256. package/app/report/jsdoc/FocusEvent.html +0 -303
  257. package/app/report/jsdoc/ForEachBookKeeping.html +0 -425
  258. package/app/report/jsdoc/KeyboardEvent.html +0 -303
  259. package/app/report/jsdoc/MapBookKeeping.html +0 -457
  260. package/app/report/jsdoc/MouseEvent.html +0 -303
  261. package/app/report/jsdoc/ReactClass.html +0 -330
  262. package/app/report/jsdoc/ReactClassInterface.html +0 -311
  263. package/app/report/jsdoc/ReactDOMComponent.html +0 -349
  264. package/app/report/jsdoc/ReactDOMTextComponent.html +0 -348
  265. package/app/report/jsdoc/ReactMountReady.html +0 -340
  266. package/app/report/jsdoc/ReactMultiChild.html +0 -330
  267. package/app/report/jsdoc/ReactOwner.html +0 -351
  268. package/app/report/jsdoc/ReactReconcileTransaction.html +0 -342
  269. package/app/report/jsdoc/ReactServerRenderingTransaction.html +0 -376
  270. package/app/report/jsdoc/ReactServerUpdateQueue.html +0 -382
  271. package/app/report/jsdoc/TouchEvent.html +0 -303
  272. package/app/report/jsdoc/Transaction.html +0 -459
  273. package/app/report/jsdoc/UIEvent.html +0 -303
  274. package/app/report/jsdoc/WheelEvent.html +0 -303
  275. package/app/report/jsdoc/classes.list.html +0 -339
  276. package/app/report/jsdoc/fonts/glyphicons-halflings-regular.eot +0 -0
  277. package/app/report/jsdoc/fonts/glyphicons-halflings-regular.svg +0 -288
  278. package/app/report/jsdoc/fonts/glyphicons-halflings-regular.ttf +0 -0
  279. package/app/report/jsdoc/fonts/glyphicons-halflings-regular.woff +0 -0
  280. package/app/report/jsdoc/fonts/glyphicons-halflings-regular.woff2 +0 -0
  281. package/app/report/jsdoc/global.html +0 -1653
  282. package/app/report/jsdoc/img/glyphicons-halflings-white.png +0 -0
  283. package/app/report/jsdoc/img/glyphicons-halflings.png +0 -0
  284. package/app/report/jsdoc/index.html +0 -236
  285. package/app/report/jsdoc/interfaces.list.html +0 -339
  286. package/app/report/jsdoc/quicksearch.html +0 -31
  287. package/app/report/jsdoc/scripts/docstrap.lib.js +0 -11
  288. package/app/report/jsdoc/scripts/fulltext-search-ui.js +0 -89
  289. package/app/report/jsdoc/scripts/fulltext-search.js +0 -36
  290. package/app/report/jsdoc/scripts/lunr.min.js +0 -6
  291. package/app/report/jsdoc/scripts/prettify/Apache-License-2.0.txt +0 -202
  292. package/app/report/jsdoc/scripts/prettify/jquery.min.js +0 -6
  293. package/app/report/jsdoc/scripts/prettify/lang-css.js +0 -21
  294. package/app/report/jsdoc/scripts/prettify/prettify.js +0 -496
  295. package/app/report/jsdoc/scripts/sunlight.js +0 -1157
  296. package/app/report/jsdoc/scripts/toc.js +0 -203
  297. package/app/report/jsdoc/styles/darkstrap.css +0 -960
  298. package/app/report/jsdoc/styles/prettify-tomorrow.css +0 -132
  299. package/app/report/jsdoc/styles/site.cerulean.css +0 -7008
  300. package/app/report/jsdoc/styles/site.cosmo.css +0 -7061
  301. package/app/report/jsdoc/styles/site.cyborg.css +0 -7048
  302. package/app/report/jsdoc/styles/site.darkly.css +0 -7171
  303. package/app/report/jsdoc/styles/site.darkstrap.css +0 -5638
  304. package/app/report/jsdoc/styles/site.dibs-bootstrap.css +0 -5899
  305. package/app/report/jsdoc/styles/site.flatly.css +0 -7147
  306. package/app/report/jsdoc/styles/site.journal.css +0 -6973
  307. package/app/report/jsdoc/styles/site.lumen.css +0 -7298
  308. package/app/report/jsdoc/styles/site.paper.css +0 -7623
  309. package/app/report/jsdoc/styles/site.readable.css +0 -6997
  310. package/app/report/jsdoc/styles/site.sandstone.css +0 -7035
  311. package/app/report/jsdoc/styles/site.simplex.css +0 -7023
  312. package/app/report/jsdoc/styles/site.slate.css +0 -7343
  313. package/app/report/jsdoc/styles/site.spacelab.css +0 -7055
  314. package/app/report/jsdoc/styles/site.superhero.css +0 -7131
  315. package/app/report/jsdoc/styles/site.united.css +0 -6895
  316. package/app/report/jsdoc/styles/site.yeti.css +0 -7195
  317. package/app/report/jsdoc/styles/sunlight.dark.css +0 -345
  318. package/app/report/jsdoc/styles/sunlight.default.css +0 -344
  319. package/gulp/config.js +0 -207
  320. package/gulp/tasks/accessibility.js +0 -34
  321. package/gulp/tasks/build.js +0 -18
  322. package/gulp/tasks/clean.js +0 -18
  323. package/gulp/tasks/data.js +0 -22
  324. package/gulp/tasks/default.js +0 -9
  325. package/gulp/tasks/deploy.js +0 -222
  326. package/gulp/tasks/documentation.js +0 -28
  327. package/gulp/tasks/markup.js +0 -26
  328. package/gulp/tasks/script.js +0 -92
  329. package/gulp/tasks/style.js +0 -42
  330. package/gulp/tasks/unit.js +0 -38
  331. package/gulp/tasks/watch.js +0 -77
  332. package/gulpfile.js +0 -8
  333. package/jsdoc.json +0 -23
  334. package/karma.conf.js +0 -58
@@ -1,1653 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html lang="en">
4
- <head>
5
- <meta charset="utf-8">
6
- <meta name="viewport" content="width=device-width">
7
- <title>Documentation Global</title>
8
-
9
- <!--[if lt IE 9]>
10
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11
- <![endif]-->
12
- <link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">
13
-
14
- <link type="text/css" rel="stylesheet" href="styles/site.cerulean.css">
15
-
16
- </head>
17
-
18
- <body>
19
-
20
- <div class="navbar navbar-default navbar-fixed-top ">
21
- <div class="container">
22
- <div class="navbar-header">
23
- <a class="navbar-brand" href="index.html">Documentation</a>
24
- <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
25
- <span class="icon-bar"></span>
26
- <span class="icon-bar"></span>
27
- <span class="icon-bar"></span>
28
- </button>
29
- </div>
30
- <div class="navbar-collapse collapse" id="topNavigation">
31
- <ul class="nav navbar-nav">
32
-
33
- <li class="dropdown">
34
- <a href="classes.list.html" class="dropdown-toggle" data-toggle="dropdown">Classes<b class="caret"></b></a>
35
- <ul class="dropdown-menu ">
36
- <li><a href="EventPropagators.html">EventPropagators</a></li><li><a href="ForEachBookKeeping.html">ForEachBookKeeping</a></li><li><a href="MapBookKeeping.html">MapBookKeeping</a></li><li><a href="ReactClass.html">ReactClass</a></li><li><a href="ReactDOMComponent.html">ReactDOMComponent</a></li><li><a href="ReactDOMTextComponent.html">ReactDOMTextComponent</a></li><li><a href="ReactMountReady.html">ReactMountReady</a></li><li><a href="ReactMultiChild.html">ReactMultiChild</a></li><li><a href="ReactOwner.html">ReactOwner</a></li><li><a href="ReactReconcileTransaction.html">ReactReconcileTransaction</a></li><li><a href="ReactServerRenderingTransaction.html">ReactServerRenderingTransaction</a></li><li><a href="ReactServerUpdateQueue.html">ReactServerUpdateQueue</a></li><li><a href="Transaction.html">Transaction</a></li>
37
- </ul>
38
- </li>
39
-
40
- <li class="dropdown">
41
- <a href="interfaces.list.html" class="dropdown-toggle" data-toggle="dropdown">Interfaces<b class="caret"></b></a>
42
- <ul class="dropdown-menu ">
43
- <li><a href="DragEvent.html">DragEvent</a></li><li><a href="Event.html">Event</a></li><li><a href="FocusEvent.html">FocusEvent</a></li><li><a href="KeyboardEvent.html">KeyboardEvent</a></li><li><a href="MouseEvent.html">MouseEvent</a></li><li><a href="ReactClassInterface.html">ReactClassInterface</a></li><li><a href="TouchEvent.html">TouchEvent</a></li><li><a href="UIEvent.html">UIEvent</a></li><li><a href="WheelEvent.html">WheelEvent</a></li>
44
- </ul>
45
- </li>
46
-
47
- <li class="dropdown">
48
- <a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a>
49
- <ul class="dropdown-menu ">
50
- <li><a href="global.html#destructor">destructor</a></li><li><a href="global.html#ensureScrollValueMonitoring">ensureScrollValueMonitoring</a></li><li><a href="global.html#getData">getData</a></li><li><a href="global.html#getText">getText</a></li><li><a href="global.html#isEnabled">isEnabled</a></li><li><a href="global.html#isPersistent">isPersistent</a></li><li><a href="global.html#listenTo">listenTo</a></li><li><a href="global.html#mountComponent">mountComponent</a></li><li><a href="global.html#persist">persist</a></li><li><a href="global.html#ReactEventListener">ReactEventListener</a></li><li><a href="global.html#receiveComponent">receiveComponent</a></li><li><a href="global.html#setEnabled">setEnabled</a></li><li><a href="global.html#supportsEventPageXY">supportsEventPageXY</a></li>
51
- </ul>
52
- </li>
53
-
54
- </ul>
55
-
56
- <div class="col-sm-3 col-md-3">
57
- <form class="navbar-form" role="search">
58
- <div class="input-group">
59
- <input type="text" class="form-control" placeholder="Search" name="q" id="search-input">
60
- <div class="input-group-btn">
61
- <button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button>
62
- </div>
63
- </div>
64
- </form>
65
- </div>
66
-
67
- </div>
68
-
69
- </div>
70
- </div>
71
-
72
-
73
- <div class="container" id="toc-content">
74
- <div class="row">
75
-
76
-
77
- <div class="col-md-8">
78
-
79
- <div id="main">
80
-
81
-
82
- <h1 class="page-title">Global</h1>
83
- <section>
84
-
85
- <header>
86
-
87
- <h2>
88
-
89
- </h2>
90
-
91
-
92
- </header>
93
-
94
-
95
- <article>
96
- <div class="container-overview">
97
-
98
-
99
-
100
-
101
- <dl class="details">
102
-
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
-
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
-
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
-
132
-
133
-
134
-
135
-
136
-
137
- </dl>
138
-
139
-
140
-
141
-
142
- </div>
143
-
144
-
145
-
146
-
147
-
148
-
149
-
150
-
151
-
152
-
153
-
154
-
155
- <h3 class="subsection-title">Members</h3>
156
-
157
- <dl>
158
-
159
- <hr>
160
- <dt class="name" id="isPersistent">
161
- <h4 id="isPersistent"><span class="type-signature"></span>isPersistent<span class="type-signature"></span></h4>
162
-
163
-
164
- </dt>
165
- <dd>
166
-
167
- <div class="description">
168
- <p>Checks if this event should be released back into the pool.</p>
169
- </div>
170
-
171
-
172
-
173
-
174
-
175
- <dl class="details">
176
-
177
-
178
-
179
-
180
-
181
-
182
-
183
-
184
-
185
-
186
-
187
-
188
-
189
-
190
-
191
-
192
-
193
-
194
-
195
-
196
-
197
-
198
-
199
-
200
-
201
-
202
-
203
-
204
-
205
-
206
-
207
-
208
-
209
-
210
-
211
- </dl>
212
-
213
-
214
-
215
- </dd>
216
-
217
-
218
-
219
- <hr>
220
- <dt class="name" id="ReactEventListener">
221
- <h4 id="ReactEventListener"><span class="type-signature"></span>ReactEventListener<span class="type-signature"></span></h4>
222
-
223
-
224
- </dt>
225
- <dd>
226
-
227
- <div class="description">
228
- <p>Injectable event backend</p>
229
- </div>
230
-
231
-
232
-
233
-
234
-
235
- <dl class="details">
236
-
237
-
238
-
239
-
240
-
241
-
242
-
243
-
244
-
245
-
246
-
247
-
248
-
249
-
250
-
251
-
252
-
253
-
254
-
255
-
256
-
257
-
258
-
259
-
260
-
261
-
262
-
263
-
264
-
265
-
266
-
267
-
268
-
269
-
270
-
271
- </dl>
272
-
273
-
274
-
275
- </dd>
276
-
277
- </dl>
278
-
279
-
280
-
281
- <h3 class="subsection-title">Methods</h3>
282
-
283
- <dl>
284
-
285
- <hr>
286
- <dt>
287
- <h4 class="name" id="destructor"><span class="type-signature"></span>destructor()</h4>
288
-
289
-
290
- </dt>
291
- <dd>
292
-
293
-
294
- <div class="description">
295
- <p><code>PooledClass</code> looks for <code>destructor</code> on each instance it releases.</p>
296
- </div>
297
-
298
-
299
-
300
-
301
-
302
-
303
-
304
-
305
-
306
-
307
- <dl class="details">
308
-
309
-
310
-
311
-
312
-
313
-
314
-
315
-
316
-
317
-
318
-
319
-
320
-
321
-
322
-
323
-
324
-
325
-
326
-
327
-
328
-
329
-
330
-
331
-
332
-
333
-
334
-
335
-
336
-
337
-
338
-
339
-
340
-
341
-
342
-
343
- </dl>
344
-
345
-
346
-
347
-
348
-
349
-
350
-
351
-
352
-
353
-
354
-
355
-
356
-
357
-
358
-
359
- </dd>
360
-
361
-
362
-
363
- <hr>
364
- <dt>
365
- <h4 class="name" id="ensureScrollValueMonitoring"><span class="type-signature"></span>ensureScrollValueMonitoring()</h4>
366
-
367
-
368
- </dt>
369
- <dd>
370
-
371
-
372
- <div class="description">
373
- <p>Listens to window scroll and resize events. We cache scroll values so that
374
- application code can access them without triggering reflows.</p>
375
- <p>ViewportMetrics is only used by SyntheticMouse/TouchEvent and only when
376
- pageX/pageY isn't supported (legacy browsers).</p>
377
- <p>NOTE: Scroll events do not bubble.</p>
378
- </div>
379
-
380
-
381
-
382
-
383
-
384
-
385
-
386
-
387
-
388
-
389
- <dl class="details">
390
-
391
-
392
-
393
-
394
-
395
-
396
-
397
-
398
-
399
-
400
-
401
-
402
-
403
-
404
-
405
-
406
-
407
-
408
-
409
-
410
-
411
-
412
-
413
-
414
-
415
-
416
-
417
-
418
-
419
-
420
-
421
-
422
-
423
- <dt class="tag-see method-doc-label method-doc-details-label">See:</dt>
424
- <dd class="tag-see">
425
- <ul>
426
- <li><a href="http://www.quirksmode.org/dom/events/scroll.html">http://www.quirksmode.org/dom/events/scroll.html</a></li>
427
- </ul>
428
- </dd>
429
-
430
-
431
-
432
- </dl>
433
-
434
-
435
-
436
-
437
-
438
-
439
-
440
-
441
-
442
-
443
-
444
-
445
-
446
-
447
-
448
- </dd>
449
-
450
-
451
-
452
- <hr>
453
- <dt>
454
- <h4 class="name" id="getData"><span class="type-signature"></span>getData()</h4>
455
-
456
-
457
- </dt>
458
- <dd>
459
-
460
-
461
- <div class="description">
462
- <p>Determine the differing substring between the initially stored
463
- text content and the current content.</p>
464
- </div>
465
-
466
-
467
-
468
-
469
-
470
-
471
-
472
-
473
-
474
-
475
- <dl class="details">
476
-
477
-
478
-
479
-
480
-
481
-
482
-
483
-
484
-
485
-
486
-
487
-
488
-
489
-
490
-
491
-
492
-
493
-
494
-
495
-
496
-
497
-
498
-
499
-
500
-
501
-
502
-
503
-
504
-
505
-
506
-
507
-
508
-
509
-
510
-
511
- </dl>
512
-
513
-
514
-
515
-
516
-
517
-
518
-
519
-
520
-
521
-
522
-
523
-
524
-
525
- <h5>Returns:</h5>
526
-
527
-
528
-
529
-
530
- <dl>
531
- <dt>
532
- Type
533
- </dt>
534
- <dd>
535
-
536
- <span class="param-type">string</span>
537
-
538
-
539
-
540
- </dd>
541
- </dl>
542
-
543
-
544
-
545
-
546
-
547
- </dd>
548
-
549
-
550
-
551
- <hr>
552
- <dt>
553
- <h4 class="name" id="getText"><span class="type-signature"></span>getText()</h4>
554
-
555
-
556
- </dt>
557
- <dd>
558
-
559
-
560
- <div class="description">
561
- <p>Get current text of input.</p>
562
- </div>
563
-
564
-
565
-
566
-
567
-
568
-
569
-
570
-
571
-
572
-
573
- <dl class="details">
574
-
575
-
576
-
577
-
578
-
579
-
580
-
581
-
582
-
583
-
584
-
585
-
586
-
587
-
588
-
589
-
590
-
591
-
592
-
593
-
594
-
595
-
596
-
597
-
598
-
599
-
600
-
601
-
602
-
603
-
604
-
605
-
606
-
607
-
608
-
609
- </dl>
610
-
611
-
612
-
613
-
614
-
615
-
616
-
617
-
618
-
619
-
620
-
621
-
622
-
623
- <h5>Returns:</h5>
624
-
625
-
626
-
627
-
628
- <dl>
629
- <dt>
630
- Type
631
- </dt>
632
- <dd>
633
-
634
- <span class="param-type">string</span>
635
-
636
-
637
-
638
- </dd>
639
- </dl>
640
-
641
-
642
-
643
-
644
-
645
- </dd>
646
-
647
-
648
-
649
- <hr>
650
- <dt>
651
- <h4 class="name" id="isEnabled"><span class="type-signature"></span>isEnabled()</h4>
652
-
653
-
654
- </dt>
655
- <dd>
656
-
657
-
658
-
659
-
660
-
661
-
662
-
663
-
664
-
665
-
666
-
667
- <dl class="details">
668
-
669
-
670
-
671
-
672
-
673
-
674
-
675
-
676
-
677
-
678
-
679
-
680
-
681
-
682
-
683
-
684
-
685
-
686
-
687
-
688
-
689
-
690
-
691
-
692
-
693
-
694
-
695
-
696
-
697
-
698
-
699
-
700
-
701
-
702
-
703
- </dl>
704
-
705
-
706
-
707
-
708
-
709
-
710
-
711
-
712
-
713
-
714
-
715
-
716
-
717
- <h5>Returns:</h5>
718
-
719
-
720
- <div class="param-desc">
721
- <p>True if callbacks are enabled.</p>
722
- </div>
723
-
724
-
725
-
726
- <dl>
727
- <dt>
728
- Type
729
- </dt>
730
- <dd>
731
-
732
- <span class="param-type">boolean</span>
733
-
734
-
735
-
736
- </dd>
737
- </dl>
738
-
739
-
740
-
741
-
742
-
743
- </dd>
744
-
745
-
746
-
747
- <hr>
748
- <dt>
749
- <h4 class="name" id="listenTo"><span class="type-signature"></span>listenTo(registrationName, contentDocumentHandle)</h4>
750
-
751
-
752
- </dt>
753
- <dd>
754
-
755
-
756
- <div class="description">
757
- <p>We listen for bubbled touch events on the document object.</p>
758
- <p>Firefox v8.01 (and possibly others) exhibited strange behavior when
759
- mounting <code>onmousemove</code> events at some node that was not the document
760
- element. The symptoms were that if your mouse is not moving over something
761
- contained within that mount point (for example on the background) the
762
- top-level listeners for <code>onmousemove</code> won't be called. However, if you
763
- register the <code>mousemove</code> on the document object, then it will of course
764
- catch all <code>mousemove</code>s. This along with iOS quirks, justifies restricting
765
- top-level listeners to the document object only, at least for these
766
- movement types of events and possibly all events.</p>
767
- </div>
768
-
769
-
770
-
771
-
772
-
773
-
774
-
775
-
776
- <h5>Parameters:</h5>
777
-
778
-
779
- <table class="params table table-striped">
780
- <thead>
781
- <tr>
782
-
783
- <th>Name</th>
784
-
785
-
786
- <th>Type</th>
787
-
788
-
789
-
790
-
791
-
792
- <th class="last">Description</th>
793
- </tr>
794
- </thead>
795
-
796
- <tbody>
797
-
798
-
799
- <tr>
800
-
801
- <td class="name"><code>registrationName</code></td>
802
-
803
-
804
- <td class="type">
805
-
806
-
807
- <span class="param-type">string</span>
808
-
809
-
810
-
811
-
812
- </td>
813
-
814
-
815
-
816
-
817
-
818
- <td class="description last"><p>Name of listener (e.g. <code>onClick</code>).</p></td>
819
- </tr>
820
-
821
-
822
-
823
- <tr>
824
-
825
- <td class="name"><code>contentDocumentHandle</code></td>
826
-
827
-
828
- <td class="type">
829
-
830
-
831
- <span class="param-type">object</span>
832
-
833
-
834
-
835
-
836
- </td>
837
-
838
-
839
-
840
-
841
-
842
- <td class="description last"><p>Document which owns the container</p></td>
843
- </tr>
844
-
845
-
846
- </tbody>
847
- </table>
848
-
849
-
850
-
851
-
852
- <dl class="details">
853
-
854
-
855
-
856
-
857
-
858
-
859
-
860
-
861
-
862
-
863
-
864
-
865
-
866
-
867
-
868
-
869
-
870
-
871
-
872
-
873
-
874
-
875
-
876
-
877
-
878
-
879
-
880
-
881
-
882
-
883
-
884
-
885
-
886
- <dt class="tag-see method-doc-label method-doc-details-label">See:</dt>
887
- <dd class="tag-see">
888
- <ul>
889
- <li><a href="http://www.quirksmode.org/blog/archives/2010/09/click_event_del.html%0A%0AAlso,%20%60keyup%60/%60keypress%60/%60keydown%60%20do%20not%20bubble%20to%20the%20window%20on%20IE,%20but%0Athey%20bubble%20to%20document.">http://www.quirksmode.org/blog/archives/2010/09/click_event_del.html
890
-
891
- Also, `keyup`/`keypress`/`keydown` do not bubble to the window on IE, but
892
- they bubble to document.</a></li>
893
- </ul>
894
- </dd>
895
-
896
-
897
-
898
- </dl>
899
-
900
-
901
-
902
-
903
-
904
-
905
-
906
-
907
-
908
-
909
-
910
-
911
-
912
-
913
-
914
- </dd>
915
-
916
-
917
-
918
- <hr>
919
- <dt>
920
- <h4 class="name" id="mountComponent"><span class="type-signature"></span>mountComponent(transaction)</h4>
921
-
922
-
923
- </dt>
924
- <dd>
925
-
926
-
927
- <div class="description">
928
- <p>Creates the markup for this text node. This node is not intended to have
929
- any features besides containing text content.</p>
930
- </div>
931
-
932
-
933
-
934
-
935
-
936
-
937
-
938
-
939
- <h5>Parameters:</h5>
940
-
941
-
942
- <table class="params table table-striped">
943
- <thead>
944
- <tr>
945
-
946
- <th>Name</th>
947
-
948
-
949
- <th>Type</th>
950
-
951
-
952
-
953
-
954
-
955
- <th class="last">Description</th>
956
- </tr>
957
- </thead>
958
-
959
- <tbody>
960
-
961
-
962
- <tr>
963
-
964
- <td class="name"><code>transaction</code></td>
965
-
966
-
967
- <td class="type">
968
-
969
-
970
- <span class="param-type"><a href="ReactReconcileTransaction.html">ReactReconcileTransaction</a></span>
971
- |
972
-
973
- <span class="param-type"><a href="ReactServerRenderingTransaction.html">ReactServerRenderingTransaction</a></span>
974
-
975
-
976
-
977
-
978
- </td>
979
-
980
-
981
-
982
-
983
-
984
- <td class="description last"></td>
985
- </tr>
986
-
987
-
988
- </tbody>
989
- </table>
990
-
991
-
992
-
993
-
994
- <dl class="details">
995
-
996
-
997
-
998
-
999
-
1000
-
1001
-
1002
-
1003
-
1004
-
1005
-
1006
-
1007
-
1008
-
1009
-
1010
-
1011
-
1012
-
1013
-
1014
-
1015
-
1016
-
1017
-
1018
-
1019
-
1020
-
1021
-
1022
-
1023
-
1024
-
1025
-
1026
-
1027
-
1028
-
1029
-
1030
- </dl>
1031
-
1032
-
1033
-
1034
-
1035
-
1036
-
1037
-
1038
-
1039
-
1040
-
1041
-
1042
-
1043
-
1044
- <h5>Returns:</h5>
1045
-
1046
-
1047
- <div class="param-desc">
1048
- <p>Markup for this text node.</p>
1049
- </div>
1050
-
1051
-
1052
-
1053
- <dl>
1054
- <dt>
1055
- Type
1056
- </dt>
1057
- <dd>
1058
-
1059
- <span class="param-type">string</span>
1060
-
1061
-
1062
-
1063
- </dd>
1064
- </dl>
1065
-
1066
-
1067
-
1068
-
1069
-
1070
- </dd>
1071
-
1072
-
1073
-
1074
- <hr>
1075
- <dt>
1076
- <h4 class="name" id="persist"><span class="type-signature"></span>persist()</h4>
1077
-
1078
-
1079
- </dt>
1080
- <dd>
1081
-
1082
-
1083
- <div class="description">
1084
- <p>We release all dispatched <code>SyntheticEvent</code>s after each event loop, adding
1085
- them back into the pool. This allows a way to hold onto a reference that
1086
- won't be added back into the pool.</p>
1087
- </div>
1088
-
1089
-
1090
-
1091
-
1092
-
1093
-
1094
-
1095
-
1096
-
1097
-
1098
- <dl class="details">
1099
-
1100
-
1101
-
1102
-
1103
-
1104
-
1105
-
1106
-
1107
-
1108
-
1109
-
1110
-
1111
-
1112
-
1113
-
1114
-
1115
-
1116
-
1117
-
1118
-
1119
-
1120
-
1121
-
1122
-
1123
-
1124
-
1125
-
1126
-
1127
-
1128
-
1129
-
1130
-
1131
-
1132
-
1133
-
1134
- </dl>
1135
-
1136
-
1137
-
1138
-
1139
-
1140
-
1141
-
1142
-
1143
-
1144
-
1145
-
1146
-
1147
-
1148
-
1149
-
1150
- </dd>
1151
-
1152
-
1153
-
1154
- <hr>
1155
- <dt>
1156
- <h4 class="name" id="receiveComponent"><span class="type-signature"></span>receiveComponent(nextText, transaction)</h4>
1157
-
1158
-
1159
- </dt>
1160
- <dd>
1161
-
1162
-
1163
- <div class="description">
1164
- <p>Updates this component by updating the text content.</p>
1165
- </div>
1166
-
1167
-
1168
-
1169
-
1170
-
1171
-
1172
-
1173
-
1174
- <h5>Parameters:</h5>
1175
-
1176
-
1177
- <table class="params table table-striped">
1178
- <thead>
1179
- <tr>
1180
-
1181
- <th>Name</th>
1182
-
1183
-
1184
- <th>Type</th>
1185
-
1186
-
1187
-
1188
-
1189
-
1190
- <th class="last">Description</th>
1191
- </tr>
1192
- </thead>
1193
-
1194
- <tbody>
1195
-
1196
-
1197
- <tr>
1198
-
1199
- <td class="name"><code>nextText</code></td>
1200
-
1201
-
1202
- <td class="type">
1203
-
1204
-
1205
- <span class="param-type">ReactText</span>
1206
-
1207
-
1208
-
1209
-
1210
- </td>
1211
-
1212
-
1213
-
1214
-
1215
-
1216
- <td class="description last"><p>The next text content</p></td>
1217
- </tr>
1218
-
1219
-
1220
-
1221
- <tr>
1222
-
1223
- <td class="name"><code>transaction</code></td>
1224
-
1225
-
1226
- <td class="type">
1227
-
1228
-
1229
- <span class="param-type"><a href="ReactReconcileTransaction.html">ReactReconcileTransaction</a></span>
1230
-
1231
-
1232
-
1233
-
1234
- </td>
1235
-
1236
-
1237
-
1238
-
1239
-
1240
- <td class="description last"></td>
1241
- </tr>
1242
-
1243
-
1244
- </tbody>
1245
- </table>
1246
-
1247
-
1248
-
1249
-
1250
- <dl class="details">
1251
-
1252
-
1253
-
1254
-
1255
-
1256
-
1257
-
1258
-
1259
-
1260
-
1261
-
1262
-
1263
-
1264
-
1265
-
1266
-
1267
-
1268
-
1269
-
1270
-
1271
-
1272
-
1273
-
1274
-
1275
-
1276
-
1277
-
1278
-
1279
-
1280
-
1281
-
1282
-
1283
-
1284
-
1285
-
1286
- </dl>
1287
-
1288
-
1289
-
1290
-
1291
-
1292
-
1293
-
1294
-
1295
-
1296
-
1297
-
1298
-
1299
-
1300
-
1301
-
1302
- </dd>
1303
-
1304
-
1305
-
1306
- <hr>
1307
- <dt>
1308
- <h4 class="name" id="setEnabled"><span class="type-signature"></span>setEnabled(enabled)</h4>
1309
-
1310
-
1311
- </dt>
1312
- <dd>
1313
-
1314
-
1315
- <div class="description">
1316
- <p>Sets whether or not any created callbacks should be enabled.</p>
1317
- </div>
1318
-
1319
-
1320
-
1321
-
1322
-
1323
-
1324
-
1325
-
1326
- <h5>Parameters:</h5>
1327
-
1328
-
1329
- <table class="params table table-striped">
1330
- <thead>
1331
- <tr>
1332
-
1333
- <th>Name</th>
1334
-
1335
-
1336
- <th>Type</th>
1337
-
1338
-
1339
-
1340
-
1341
-
1342
- <th class="last">Description</th>
1343
- </tr>
1344
- </thead>
1345
-
1346
- <tbody>
1347
-
1348
-
1349
- <tr>
1350
-
1351
- <td class="name"><code>enabled</code></td>
1352
-
1353
-
1354
- <td class="type">
1355
-
1356
-
1357
- <span class="param-type">boolean</span>
1358
-
1359
-
1360
-
1361
-
1362
- </td>
1363
-
1364
-
1365
-
1366
-
1367
-
1368
- <td class="description last"><p>True if callbacks should be enabled.</p></td>
1369
- </tr>
1370
-
1371
-
1372
- </tbody>
1373
- </table>
1374
-
1375
-
1376
-
1377
-
1378
- <dl class="details">
1379
-
1380
-
1381
-
1382
-
1383
-
1384
-
1385
-
1386
-
1387
-
1388
-
1389
-
1390
-
1391
-
1392
-
1393
-
1394
-
1395
-
1396
-
1397
-
1398
-
1399
-
1400
-
1401
-
1402
-
1403
-
1404
-
1405
-
1406
-
1407
-
1408
-
1409
-
1410
-
1411
-
1412
-
1413
-
1414
- </dl>
1415
-
1416
-
1417
-
1418
-
1419
-
1420
-
1421
-
1422
-
1423
-
1424
-
1425
-
1426
-
1427
-
1428
-
1429
-
1430
- </dd>
1431
-
1432
-
1433
-
1434
- <hr>
1435
- <dt>
1436
- <h4 class="name" id="supportsEventPageXY"><span class="type-signature"></span>supportsEventPageXY()</h4>
1437
-
1438
-
1439
- </dt>
1440
- <dd>
1441
-
1442
-
1443
- <div class="description">
1444
- <p>Protect against document.createEvent() returning null
1445
- Some popup blocker extensions appear to do this:
1446
- https://github.com/facebook/react/issues/6887</p>
1447
- </div>
1448
-
1449
-
1450
-
1451
-
1452
-
1453
-
1454
-
1455
-
1456
-
1457
-
1458
- <dl class="details">
1459
-
1460
-
1461
-
1462
-
1463
-
1464
-
1465
-
1466
-
1467
-
1468
-
1469
-
1470
-
1471
-
1472
-
1473
-
1474
-
1475
-
1476
-
1477
-
1478
-
1479
-
1480
-
1481
-
1482
-
1483
-
1484
-
1485
-
1486
-
1487
-
1488
-
1489
-
1490
-
1491
-
1492
-
1493
-
1494
- </dl>
1495
-
1496
-
1497
-
1498
-
1499
-
1500
-
1501
-
1502
-
1503
-
1504
-
1505
-
1506
-
1507
-
1508
-
1509
-
1510
- </dd>
1511
-
1512
- </dl>
1513
-
1514
-
1515
-
1516
-
1517
-
1518
- </article>
1519
-
1520
- </section>
1521
-
1522
-
1523
-
1524
-
1525
- </div>
1526
- </div>
1527
-
1528
- <div class="clearfix"></div>
1529
-
1530
-
1531
- <div class="col-md-3">
1532
- <div id="toc" class="col-md-3 hidden-xs hidden-sm hidden-md"></div>
1533
- </div>
1534
-
1535
-
1536
- </div>
1537
- </div>
1538
-
1539
-
1540
- <div class="modal fade" id="searchResults">
1541
- <div class="modal-dialog">
1542
- <div class="modal-content">
1543
- <div class="modal-header">
1544
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
1545
- <h4 class="modal-title">Search results</h4>
1546
- </div>
1547
- <div class="modal-body"></div>
1548
- <div class="modal-footer">
1549
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
1550
- </div>
1551
- </div><!-- /.modal-content -->
1552
- </div><!-- /.modal-dialog -->
1553
- </div>
1554
-
1555
-
1556
- <footer>
1557
-
1558
-
1559
- <span class="jsdoc-message">
1560
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.3</a>
1561
-
1562
- on April 13th 2017, 10:19:29 am
1563
-
1564
- using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
1565
- </span>
1566
- </footer>
1567
-
1568
- <script src="scripts/docstrap.lib.js"></script>
1569
- <script src="scripts/toc.js"></script>
1570
-
1571
- <script type="text/javascript" src="scripts/fulltext-search-ui.js"></script>
1572
-
1573
-
1574
- <script>
1575
- $( function () {
1576
- $( "[id*='$']" ).each( function () {
1577
- var $this = $( this );
1578
-
1579
- $this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
1580
- } );
1581
-
1582
- $( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () {
1583
- var $this = $( this );
1584
-
1585
- var example = $this.find( "code" );
1586
- exampleText = example.html();
1587
- var lang = /{@lang (.*?)}/.exec( exampleText );
1588
- if ( lang && lang[1] ) {
1589
- exampleText = exampleText.replace( lang[0], "" );
1590
- example.html( exampleText );
1591
- lang = lang[1];
1592
- } else {
1593
- var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/);
1594
- lang = langClassMatch ? langClassMatch[1] : "javascript";
1595
- }
1596
-
1597
- if ( lang ) {
1598
-
1599
- $this
1600
- .addClass( "sunlight-highlight-" + lang )
1601
- .addClass( "linenums" )
1602
- .html( example.html() );
1603
-
1604
- }
1605
- } );
1606
-
1607
- Sunlight.highlightAll( {
1608
- lineNumbers : true,
1609
- showMenu : true,
1610
- enableDoclinks : true
1611
- } );
1612
-
1613
- $.catchAnchorLinks( {
1614
- navbarOffset: 10
1615
- } );
1616
- $( "#toc" ).toc( {
1617
- anchorName : function ( i, heading, prefix ) {
1618
- return $( heading ).attr( "id" ) || ( prefix + i );
1619
- },
1620
- selectors : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4",
1621
- showAndHide : false,
1622
- smoothScrolling: true
1623
- } );
1624
-
1625
- $( "#main span[id^='toc']" ).addClass( "toc-shim" );
1626
- $( '.dropdown-toggle' ).dropdown();
1627
-
1628
- $( "table" ).each( function () {
1629
- var $this = $( this );
1630
- $this.addClass('table');
1631
- } );
1632
-
1633
- } );
1634
- </script>
1635
-
1636
-
1637
-
1638
- <!--Navigation and Symbol Display-->
1639
-
1640
-
1641
- <!--Google Analytics-->
1642
-
1643
-
1644
-
1645
- <script type="text/javascript">
1646
- $(document).ready(function() {
1647
- SearcherDisplay.init();
1648
- });
1649
- </script>
1650
-
1651
-
1652
- </body>
1653
- </html>