7 lines
207 B
TypeScript
7 lines
207 B
TypeScript
import { WeatherIconElement } from "./weather-icon";
|
|
|
|
export const init = (iconsPath: string) => {
|
|
WeatherIconElement.iconsPath = iconsPath;
|
|
customElements.define("weather-icon", WeatherIconElement);
|
|
};
|