codigo0/node_modules/happy-dom/lib/css/style-property-map/StylePropertyMap.d.ts

33 lines
823 B
TypeScript
Raw Normal View History

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