UNPKG

uicore-ts

Version:

UICore is a library to build native-like user interfaces using pure Typescript. No HTML is needed at all. Components are described as TS classes and all user interactions are handled explicitly. This library is strongly inspired by the UIKit framework tha

23 lines (22 loc) 923 B
import { UIBaseButton } from "./UIBaseButton"; import { UIButtonColorSpecifier } from "./UIButton"; import { UIRoute } from "./UIRoute"; import { UIViewBroadcastEvent } from "./UIView"; export declare class UILink extends UIBaseButton { private _colors?; constructor(elementID?: string); get colors(): UIButtonColorSpecifier | undefined; set colors(value: UIButtonColorSpecifier | undefined); get viewHTMLElement(): HTMLLinkElement; set text(text: string); get text(): string; set target(target: string); get target(): string; set targetRouteForCurrentState(targetRouteForCurrentState: () => (UIRoute | string)); get targetRouteForCurrentState(): () => (UIRoute | string); _targetRouteForCurrentState(): string | UIRoute; didReceiveBroadcastEvent(event: UIViewBroadcastEvent): void; wasAddedToViewTree(): void; updateTarget(): void; layoutSubviews(): void; }