Skip to content

类型

包导出的主要类型:

类型说明
LayerConfigCreatecreateLayer 第二参(Raw flat)
LayerConfigContainerdefineLayer 配置(顶层 = container)
LayerConfigContentuse / open / clone(顶层 = content)
LayerConfigFragmentCanonical 双侧分栏(写 adapter 时用)
LayerAdapter(fragment) => fragment
LayerDefinedefineLayer 返回值(含 exists
LayerInstance实例接口
CloseOnRaw用户侧 closeOn 配置(数组糖 / Record)
LayerConfirmResult / LayerConfirmSourceconfirm()
LayerCloseOptionsclose(options?)

Canonical / Bound 等管线类型(CloseOnLayerBound 等)为内部实现,不从包导出。配置三域见 配置域命名

MIT Licensed