mx-ui-components
Version:
mobius ui library
23 lines (22 loc) • 657 B
TypeScript
import BaseComponent from "../Counter/BaseComponent";
export default class CountryFlagElement extends BaseComponent {
private _country;
private props;
private name;
private countryFlagDataObj;
private flagElement;
private flagTextElement;
constructor();
static get observedAttributes(): string[];
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
connectedCallback(): void;
get country(): any;
set country(newValue: any);
private render;
}
export { CountryFlagElement };
export interface ICountry {
flag: string;
currency: string;
code: string;
}