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
22 lines (21 loc) • 759 B
TypeScript
import { IUILoadingView, UIView } from "./UIView";
export declare class UILoadingView extends UIView implements IUILoadingView {
private spinnerView;
private isPulsing;
private _theme;
set loading(loading: boolean);
get loading(): boolean;
/**
* Sets the visual theme of the loader.
* 'light' (default): Suitable for light backgrounds. Dark spinner, white-ish overlay.
* 'dark': Suitable for dark backgrounds. Light spinner, black-ish overlay.
*/
set theme(theme: "light" | "dark");
get theme(): "light" | "dark";
constructor(elementID?: string);
initViewStyleSelectors(): void;
private updateColors;
layoutSubviews(): void;
private enablePulsingMode;
private enableIndicatorMode;
}