web_components 0.3.2 copy "web_components: ^0.3.2" to clipboard
web_components: ^0.3.2 copied to clipboard

outdatedDart 1 only

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 provi [...]

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.3.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/polyfill.dart';
0
likes
0
pub points
5%
popularity

Publisher

unverified uploader

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.

Homepage

License

unknown (LICENSE)

More

Packages that depend on web_components