interface MobileOptions {
    container: HTMLElement;
    indicators: boolean;
    intervals: readonly string[];
    mode?: MobileMode;
    rail: null | RailHandle;
    search?: SymbolSearch;
    tools?: readonly string[];
    topbar: boolean;
    indicatorsAvailable(): boolean;
    onChartType(id: string): void;
    onIndicators(anchor: HTMLElement): boolean;
    onInterval(code: string): void;
    onObjects(anchor: HTMLElement): boolean;
    onProperties(anchor: HTMLElement): boolean;
    onSettings(anchor: HTMLElement): boolean;
    onSymbol(symbol: string, exchange?: string): void;
    onTheme(): void;
    settingsAvailable(): boolean;
    state(): TopbarState;
}

Properties

container: HTMLElement
indicators: boolean
intervals: readonly string[]
mode?: MobileMode
rail: null | RailHandle
search?: SymbolSearch
tools?: readonly string[]
topbar: boolean

Methods

  • Parameters

    • anchor: HTMLElement

    Returns boolean

  • Parameters

    • anchor: HTMLElement

    Returns boolean

  • Parameters

    • anchor: HTMLElement

    Returns boolean

  • Parameters

    • anchor: HTMLElement

    Returns boolean

  • Parameters

    • symbol: string
    • Optionalexchange: string

    Returns void