Skip to content

bodyElementId does not allow to use <body> #69

@Turbo87

Description

@Turbo87

It seems that by default Tether.js positions the elements in-place and using bodyElementId allows us to use a different parent element, unrelated to the DOM position where the component is used.

Unfortunately, using getElementById() means that only elements with an actual id can be used, but not e.g. the <body> element.

Is this intentional? Would it be better to use querySelector() instead? 🤔

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions