@kelvininc/ui-components
Version:
Kelvin UI Components
21 lines (20 loc) • 681 B
TypeScript
import { EventEmitter } from '../../stencil-public-runtime';
import { ILink } from './link.types';
import { EAnchorTarget } from '../../types';
/**
* @part container - The link's container
*/
export declare class KvLink implements ILink {
/** (required) Main component label */
label: string;
/** (optional) Description for the label */
subtitle?: string;
/** (optional) The link to open when clicking on the tag */
href?: string;
/** (optional) The link to open when clicking on the tag */
target?: EAnchorTarget;
/** Emitted when clicking the label */
labelClick: EventEmitter<MouseEvent>;
private onLabelClick;
render(): any;
}