HERO HELP

Web/HTML Attributes

  1. Web Attributes are additional HTML attributes

  2. Web Attributes will be added when exporting/previewing

  3. FYI: Hero Effects will be added as attributes in the background

    • For fine tuning Hero Effects you can add/change parameters in value object of the corresponding web attribute (also see Effects)

Concept

Web Attributes will be added when exporting/previewing. Adding custom attributes to your markup (HTML) can be necessary for more complex DOM manipulations or using 3rd party JavaScript libraries.

Examples:

  • Setting custom CSS styles
    • style = border: 10px solid green; border-radius: 20px;
  • Setting Hero Effects with options
    • hero-fx-magnet = {scale: 0.1}