Which of the following statements about HubL and JavaScript is TRUE?

Question: Which of the following statements about HubL and JavaScript is TRUE?

  • HubL can be used in both the HTML + HubL and the JS sections of the module editor.
  • HubL tags contain a “post_js_rendering” attribute so that you can pass JS data to HubL in modules.
  • Module builders can choose between JavaScript and HubL to add module fields to their markup.
  • JS written in the HTML + HubL section of the module editor will be repeated on a page for every instance of a module.

The right answer was: JS written in the HTML + HubL section of the module editor will be repeated on a page for every instance of a module.

Leave a Comment