exportstag3.js 505 B

1234567891011121314151617181920212223
  1. define(
  2. /**
  3. Utility functions to ease working with DOM elements.
  4. @exports html/utils
  5. */
  6. function () {
  7. var exports = {
  8. /** Get the value of a property on an element. */
  9. getStyleProperty: function(element, propertyName) {
  10. // ...
  11. }
  12. };
  13. /** Determine if an element is in the document head. */
  14. exports.isInHead = function(element) {
  15. // ...
  16. }
  17. return exports;
  18. }
  19. );