Skip to content

HTMLElement as constructor argument #265

Closed
@wiiiteek

Description

@wiiiteek

Hello,

I think it would be great if user could provide HTMLELement instance as a container in Typed constructor:

let p = document.querySelector('.some-container');
let t = new Typed(p, {
                strings: ["Some text"],
                typeSpeed: 15
});

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions