UNPKG

@mollahdev/cssom-lite

Version:

Generate css with javascript

23 lines (22 loc) 921 B
import { cssOption, devicesOption, responsiveOption, rulesOption, stringObj } from "./interfaces"; export default class Base { protected devices: devicesOption; protected css: cssOption; protected rules: rulesOption; protected ignoreKeys: string[]; protected get uid(): number; protected canIgnore(value: string): boolean; protected removeOldProperties(properties: string, state: {}): void; protected sortDevices(): void | false; protected removeMultiWhiteSpace(str: string): string; protected responsiveToHash(responsive: responsiveOption): string; protected hashToResponsive(hash: string): devicesOption; protected sortHashes(): rulesOption; createResponsiveFormat(responsiveHash: string): string; convertProperties(properties: stringObj): string; convertRules(rules: { [key: string]: { [key: string]: string; }; }): string; }