8000 Allow for a global configuration · Issue #86 · reactive-elements/reactive-elements · GitHub
[go: up one dir, main page]

Skip to content

Allow for a global configuration #86

@jackfranklin

Description

@jackfranklin

Once 0.9.0 is out with #81 in it, we will now have two options that you can pass in on a per-registration basis:

document.registerReact('some-component', SomeComponent, {
  ignoreAttributeChanged: true,
  useAttachedCallback: true,
})

Do we want a way for a user to be able to define the defaults?

import reactiveElements from '...'

reactiveElements.setDefaultOptions({ ... })

reactiveElements.register(...)

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

      0