web_components 0.12.2+2 copy "web_components: ^0.12.2+2" to clipboard
web_components: ^0.12.2+2 copied to clipboard

outdatedDart 1 only

Polyfills for Shadow DOM, Custom Elements, and HTML Imports. Custom Elements let authors define their own elements. Authors associate code with custom tag names, and then use those custom tag names as [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add web_components

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  web_components: ^0.12.2+2

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:web_components/web_components.dart';
0
likes
0
pub points
17%
popularity

Publisher

unverified uploader

Polyfills for Shadow DOM, Custom Elements, and HTML Imports. Custom Elements let authors define their own elements. Authors associate code with custom tag names, and then use those custom tag names as they would any standard tag. Shadow DOM is designed to provide encapsulation for custom elements, by hiding DOM subtrees under shadow roots. HTML Imports let authors bundle code and HTML as if they were libraries.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

analyzer, barback, code_transformers, html, initialize, path

More

Packages that depend on web_components