View.js - API
  • View
  • ViewContext
  • ViewConfiguration
  • ViewConfigurationSet
  • 工具
  • View.layout
  • View.Logger
  • 类型
    • ViewLayoutInitOptions
    • ViewLayoutChangeListener
    • ViewConfigurationApplication
    • ViewState
    • ViewSwitchAnimation
    • ViewSwitchInfo
    • ViewSwitchType
    • ViewSwtichTrigger
    • ViewSwitchCtrl
    • ViewBackForwardCtrl
    • ViewEvent
    • ViewEventListener
    • ViewSwitchEventData
    • ViewInstanceEnterEventData
    • ViewInstanceLeaveEventData
    • ViewInitializer
    • ViewInitializeTime
    • ViewSwitchInterceptor
    • ViewDataFetchAction
Powered by GitBook
On this page

Was this helpful?

  1. 类型

ViewSwitchInfo

视图跳转信息

PreviousViewSwitchAnimationNextViewSwitchType

Last updated 5 years ago

Was this helpful?

属性

  • srcElement: HTMLElement | null - 源视图的 DOM 骨架。如果视图是直接访问进入的,则为 null

  • targetElement: HTMLElement - 目标视图的 DOM 骨架

  • type: - 视图跳转的方式

  • trigger: - 视图跳转的触发来源

  • render: Function - 界面渲染动作

界面渲染动作,由 View.js 提供,包含了活动视图的切换和关联事件的触发等,开发者需要根据动画的播放效果,在恰当的时机,例如:动画播放完毕后,执行该方法。

ViewSwitchType
ViewSwitchTrigger