vue3-openlayers
Version:
OpenLayers Wrapper for Vue3
11 lines (10 loc) • 480 B
TypeScript
import { App, Component } from 'vue';
/**
* Converts a PascalCase name to both standard kebab-case and split-abbreviation kebab-case aliases.
* E.g. OlWMSLayer -> ["ol-wms-layer", "ol-w-m-s-layer"]
*/
export declare function pascalToKebabWithAbbr(name: string): string[];
/**
* Registers a component with all kebab-case and split-abbreviation aliases, and the original name.
*/
export declare function registerWithAliases(app: App, name: string, component: Component): void;