Skip to main content
Version: 2.x

API Reference > @next-core/brick-types > PluginRuntimeContext

PluginRuntimeContext interface

系统运行时信息。

Signature:

export interface PluginRuntimeContext

Properties

PropertyTypeDescription
anchorstring当前的 anchor 参数(hash 除去开头的 #
appMicroApp当前的应用信息。
eventCustomEvent当前的在事件处理中的事件对象。
flagsFeatureFlags特性开关字典。
hashstring当前的 hash 参数
overrideAppMicroApp用于跨应用菜单注入等场景的应用重载。
pathnamestring当前的 pathname 参数
queryURLSearchParams当前的 query 参数。
seguesSeguesConf当前应用的页面切换配置。
sysSystemInfo系统会话信息。