API 参考

  • Web

更新时间不可用

API 类型

WhiteVersion

Text
export declare const WhiteVersion: string;

listenUpdated

Text
export declare function listenUpdated<T extends Object>(object: T, listener: AkkoObjectUpdatedListener<T>): void;

unlistenUpdated

Text
export declare function unlistenUpdated<T extends Object>(object: Object, listener: AkkoObjectUpdatedListener<T>): void;

listenDisposed

Text
export declare function listenDisposed(object: Object, listener: AkkoObjectDisposedListener): void;

unlistenDisposed

Text
export declare function unlistenDisposed(object: Object, listener: AkkoObjectDisposedListener): void;

AkkoVersion

Text
export declare const AkkoVersion: any;

AdminObserverId

Text
export declare const AdminObserverId: number;

NullIdentifier

Text
export declare const NullIdentifier: any;

CNode

Text
export declare const CNode: ComponentType<CNodeProps>;

previewPPT

Text
export declare function previewPPT(conversionResponse: ConversionResponse, container: HTMLDivElement, config?: PreviewConfig, preload?: boolean, userFonts?: UserFonts, logger?: Logger, pptPrams?: PptParams, events?: EventEmitter): EventEmitter;

createPlugins

Text
export declare function createPlugins<C_MAP extends Object>(plugins: Readonly<{
    [K: string]: Plugin<any>;
}>): Plugins<C_MAP>;

setAsyncModuleLoadMode

Text
export declare function setAsyncModuleLoadMode(mode: AsyncModuleLoadMode): void;

isRoom

Text
export declare function isRoom(displayer: Displayer): boolean;

isPlayer

Text
export declare function isPlayer(displayer: Displayer): boolean;

DefaultHotKeys

Text
export declare const DefaultHotKeys: Partial<HotKeys>;

createPPTTask

Text
export declare function createPPTTask(params: PPTTaskParams): PPTTask;

toJS

Text
export declare function toJS(source: any): any;

contentModeScale

Text
export declare function contentModeScale(scale: number): ContentMode;

contentModeAspectFit

Text
export declare function contentModeAspectFit(): ContentMode;

contentModeAspectFitScale

Text
export declare function contentModeAspectFitScale(scale: number): ContentMode;

contentModeAspectFitSpace

Text
export declare function contentModeAspectFitSpace(space: number): ContentMode;

contentModeAspectFill

Text
export declare function contentModeAspectFill(): ContentMode;

contentModeAspectFillScale

Text
export declare function contentModeAspectFillScale(scale: number): ContentMode;

DisplayerConsumer

Text
export declare const DisplayerConsumer: Consumer<Displayer>;

RoomConsumer

Text
export declare const RoomConsumer: Consumer<Room | undefined>;

PlayerConsumer

Text
export declare const PlayerConsumer: Consumer<Player | undefined>;

injectCustomStyle

Text
export declare function injectCustomStyle(icons: UserCursorIcons): void;

动态配置公开类型

  • DynamicConfigURLOptions
  • DynamicConfigRegionOptions
  • DynamicConfigOptions
  • DynamicConfigJSON
  • DynamicConfigObject
  • DynamicConfigSnapshot
  • DynamicConfigFieldSource
  • DynamicConfigFieldSources
  • DynamicConfigState