Skip to content

Supports specifying the root container, not just document.body #550

@capdiem

Description

@capdiem

Users should be able to specify a particular container (such as .v-application) either through configuration or programmatically, where all guide elements generated by Driver.js will be placed, rather than being appended to the document.body.

<body>
  <div class="v-application">
    <!-- content -->

    <!-- generate by driver.js -->
    <!-- CSS ".m-application red { }" will work -->
    <div id="driver-popover-content red"></div>
    <svg class="driver-overlay"></svg>
  </div>
</body>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions