@difizen/mana-core
Version:
12 lines • 420 B
TypeScript
import type { ManaContext } from '../module';
import type { View } from './view-protocol';
/**
* View metadata
* 提供静态方法,用于获取和设置视图的上下文
*/
export declare class ViewMeta {
static setViewContext(view: View, context: ManaContext): void;
static getViewContext(view: View): ManaContext;
static removeViewContext(view: View): void;
}
//# sourceMappingURL=view-meta.d.ts.map