@polymer/polymer
Version:
The Polymer library makes it easy to create your own web components. Give your element some markup and properties, and then use it on a site. Polymer provides features like dynamic templates and data binding to reduce the amount of boilerplate you need to
24 lines (17 loc) • 568 B
TypeScript
// tslint:disable:variable-name Describing an API that's defined elsewhere.
export {dashToCamelCase};
/**
* Converts "dash-case" identifier (e.g. `foo-bar-baz`) to "camelCase"
* (e.g. `fooBarBaz`).
*
* @returns Camel-case representation of the identifier
*/
declare function dashToCamelCase(dash: string): string;
export {camelToDashCase};
/**
* Converts "camelCase" identifier (e.g. `fooBarBaz`) to "dash-case"
* (e.g. `foo-bar-baz`).
*
* @returns Dash-case representation of the identifier
*/
declare function camelToDashCase(camel: string): string;