Skip to content

Do not reset internal state of custom elements #364

Closed
@akhilman

Description

@akhilman

Right now seed is forcing re-initialization of custom elements to update code inside code-block on seed-rs.org (see #325 #328).

I propose to use a mutation observer to detect if the inner HTML of the custom element has changed (see example).

I'll take a care of this issue and updating code-block.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions