33 lines
823 B
TypeScript
33 lines
823 B
TypeScript
|
|
import StylePropertyMapReadOnly from './StylePropertyMapReadOnly.js';
|
||
|
|
/**
|
||
|
|
* StylePropertyMapReadOnly interface.
|
||
|
|
*
|
||
|
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/StylePropertyMapReadOnly
|
||
|
|
*/
|
||
|
|
export default class StylePropertyMap extends StylePropertyMapReadOnly {
|
||
|
|
/**
|
||
|
|
* Appends a property.
|
||
|
|
*
|
||
|
|
* @param property Property.
|
||
|
|
* @param value Value.
|
||
|
|
*/
|
||
|
|
append(property: string, value: string): void;
|
||
|
|
/**
|
||
|
|
* Clears all properties.
|
||
|
|
*/
|
||
|
|
clear(): void;
|
||
|
|
/**
|
||
|
|
* Deletes a property.
|
||
|
|
*
|
||
|
|
* @param property Property.
|
||
|
|
*/
|
||
|
|
delete(property: string): void;
|
||
|
|
/**
|
||
|
|
* Sets a property.
|
||
|
|
*
|
||
|
|
* @param property Property.
|
||
|
|
* @param value Value.
|
||
|
|
*/
|
||
|
|
set(property: string, value: string): void;
|
||
|
|
}
|
||
|
|
//# sourceMappingURL=StylePropertyMap.d.ts.map
|