Skip to content

jpradelle/polymer-web-types

Repository files navigation

Web-Types for Polymer

Web-Types is a framework-agnostic format aimed at providing IDEs and other tools with the metadata information about the contents of a component library. Its powerful name patterns allow encoding information about web framework syntax or customizing code completion suggestions for large icon libraries in the IDEs that support Web-Types.

See web-types project

Working with polymer-web-types

polymer-web-types project contains basic Polymer language definitions and Polymer framework components definitions. To use it add dependency to your project.

npm i polymer-web-types -D

If using IntelliJ or WebStorm, IDE restart might be needed after install to enable autocomplete.

Web-Types generation

polymer-web-types is designed to work with web-component-analyzer-webtypes which can generate web-types definitions of your webcomponents by parsing your source files, needed to enable completion of your components tags, attributes, properties, events and css properties.

See web-component-analyzer-webtypes and wca web-types dedicated page

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published