@dapplets/dapplet-extension
Version:
The Bridge to the Augmented Web.
20 lines (19 loc) • 533 B
TypeScript
export declare class ProxyAdapter {
adapterName: string;
private _widgets;
private _configById;
private _contextByTypeAndId;
exports: {};
constructor(adapterName: string);
attachConfig(config: any): {
$: (ctx: any, id: string) => any;
reset: () => void;
};
detachConfig(detachingConfig?: any): void;
private _getWidgetsForContext;
private _onWidgetEvent;
private _onContextChanged;
private _saveOrUpdateContext;
private _notify;
private _messageListener;
}