@kelvininc/ui-components
Version:
Kelvin UI Components
30 lines (29 loc) • 790 B
TypeScript
import { EventEmitter } from '../../stencil-public-runtime';
import { ILink } from './link.types';
import { EAnchorTarget, EIconName } from '../../types';
/**
* @part container - The link's container
* @part label - The link's label
*/
export declare class KvLink implements ILink {
/** @inheritdoc */
label: string;
/** @inheritdoc */
leftIcon?: EIconName;
/** @inheritdoc */
rightIcon?: EIconName;
/** @inheritdoc */
subtitle?: string;
/** @inheritdoc */
disabled?: boolean;
/** @inheritdoc */
inline?: boolean;
/** @inheritdoc */
href?: string;
/** @inheritdoc */
target?: EAnchorTarget;
/** Emitted when clicking the label */
labelClick: EventEmitter<MouseEvent>;
private onLabelClick;
render(): any;
}