@angular/compiler
Version:
Angular - the compiler library
19 lines (18 loc) • 715 B
TypeScript
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* Parses string representation of a style and converts it into object literal.
*
* @param value string representation of style as used in the `style` attribute in HTML.
* Example: `color: red; height: auto`.
* @returns An array of style property name and value pairs, e.g. `['color', 'red', 'height',
* 'auto']`
*/
export declare function parse(value: string): string[];
export declare function stripUnnecessaryQuotes(value: string): string;
export declare function hyphenate(value: string): string;