custom_element_apigen 0.1.5+1 custom_element_apigen: ^0.1.5+1 copied to clipboard
Generates Dart API for JS Custom Elements
0.1.5+1 #
- Add
Element
as dart type forElement
js type.
0.1.5 #
- Support
file_overrides
option for each html file listed in config files. This should be a map of file name prefixes to a list of class names. All classes listed will be output to the corresponding file instead of the default one.
0.1.4+3 #
- Make the parser a bit more lenient around parsing mixins. The name is only parsed up to the first space, which allows for comments or other things to follow the name.
0.1.4+2 #
- Switch from
html5lib
tohtml
package dependency.
0.1.4+1 #
- Update
web_components
constraint.
0.1.4 #
- Start using @HtmlImport and @CustomElementProxy. This should have no effect on existing applications, other than enabling them to remove some of their html imports if desired (a dart import alone is now sufficient).
0.1.3 #
- Add support for various methods and properties from the Polymer base class.
- Add support for mixins.
0.1.2+1 #
- Increase upper bound on web_components to
<0.11.0
.
0.1.2 #
- Add support for the
$
property.
0.1.1 #
- Automatically include
packages/web_components/interop_support.html
.
0.1.0 #
- Breaking Change Removed main() from
generate_dart_api
,pub run custom_elements_apigen:update ...
is now the only way you should generate wrappers. - Breaking Change
deletion_patterns
option will now delete folders that match the supplied patterns as well as files. - Breaking Change Many functions in
generate_dart_api
were moved to be private.
0.0.3 #
Added deletion_patterns option to the config. This is a list of regex patterns that match files under the lib/src directory. All matched files will be deleted, and directories are skipped. This happens before the stubs are generated so they will not be deleted if you list a folder containing a stub.
0.0.2+1 #
Updated polymer dependency.
0.0.2 #
Elements can now be built from code using a normal factory constructor, such as
new FooElement()
. It is still necessary however to include the html import for
each element you wish to create this way.
0.0.1 #
Initial version