All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.css.d.ts Maven / Gradle / Ivy

The newest version!
/**
 * @module ol/css
 */
/**
 * @typedef {Object} FontParameters
 * @property {string} style Style.
 * @property {string} variant Variant.
 * @property {string} weight Weight.
 * @property {string} size Size.
 * @property {string} lineHeight LineHeight.
 * @property {string} family Family.
 * @property {Array} families Families.
 */
/**
 * The CSS class for hidden feature.
 *
 * @const
 * @type {string}
 */
export const CLASS_HIDDEN: string;
/**
 * The CSS class that we'll give the DOM elements to have them selectable.
 *
 * @const
 * @type {string}
 */
export const CLASS_SELECTABLE: string;
/**
 * The CSS class that we'll give the DOM elements to have them unselectable.
 *
 * @const
 * @type {string}
 */
export const CLASS_UNSELECTABLE: string;
/**
 * The CSS class for unsupported feature.
 *
 * @const
 * @type {string}
 */
export const CLASS_UNSUPPORTED: string;
/**
 * The CSS class for controls.
 *
 * @const
 * @type {string}
 */
export const CLASS_CONTROL: string;
/**
 * The CSS class that we'll give the DOM elements that are collapsed, i.e.
 * to those elements which usually can be expanded.
 *
 * @const
 * @type {string}
 */
export const CLASS_COLLAPSED: string;
export function getFontParameters(fontSpec: string): FontParameters | null;
export type FontParameters = {
    /**
     * Style.
     */
    style: string;
    /**
     * Variant.
     */
    variant: string;
    /**
     * Weight.
     */
    weight: string;
    /**
     * Size.
     */
    size: string;
    /**
     * LineHeight.
     */
    lineHeight: string;
    /**
     * Family.
     */
    family: string;
    /**
     * Families.
     */
    families: Array;
};
//# sourceMappingURL=css.d.ts.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy