custom_element_apigen 0.2.2+1 copy "custom_element_apigen: ^0.2.2+1" to clipboard
custom_element_apigen: ^0.2.2+1 copied to clipboard

discontinued
Dart 1 only

Generates Dart API for JS Custom Elements

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add custom_element_apigen

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

dependencies:
  custom_element_apigen: ^0.2.2+1

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:custom_element_apigen/generate_dart_api.dart';
0
likes
20
pub points
0%
popularity

Publisher

unverified uploader

Generates Dart API for JS Custom Elements

Repository (GitHub)
View/report issues
Contributing

License

BSD-3-Clause (LICENSE)

Dependencies

html, path, polymer_interop, test, web_components, yaml

More

Packages that depend on custom_element_apigen