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

Advertisement

  • 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 unless it is wrapped in a require_js statement.
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment


Share via
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend