Ben McCormick
Ben McCormick

Reputation: 25728

Enable Custom Elements in Firefox

How can I enable Custom Elements in Firefox 31/32? According to Are We Componentized yet? there is "in progress support" but I can't see it, and googling was unhelpful.

Upvotes: 1

Views: 3211

Answers (1)

Ben McCormick
Ben McCormick

Reputation: 25728

After some experimentation, it appears that the way to use the in-progress Web Components support in firefox is by navigating to about:config in firefox and enabling the dom.webcomponents.enabled flag. In Firefox 31 that seems to (at minimum) enable implementations of document.registerElement and the various custom element lifecycle callbacks.

Upvotes: 8

Related Questions