Home Reference Source
public class | source

AbstractTransition

Direct Subclass:

DefaultTransition

Base class for creating transition.

Constructor Summary

Public Constructor
public

Constructor.

Member Summary

Public Members
public
public
public
public
public
Private Members
private

Method Summary

Public Methods
public

done()

Call this function when the Transition is finished.

public

init(oldPage: AbstractPage, newPagePromise: Promise): Promise

Initialize transition.

public abstract

start()

Entry point to create a custom Transition.

Public Constructors

public constructor() source

Constructor. Do not override this method.

Public Members

public deferred: * source

public newPage: AbstractPage | null source

public newPageLoading: Promise | null source

public newPageReady: * source

public oldPage: AbstractPage | null source

Private Members

private _newPagePromise: * source

Public Methods

public done() source

Call this function when the Transition is finished.

public init(oldPage: AbstractPage, newPagePromise: Promise): Promise source

Initialize transition. Do not override this method.

Params:

NameTypeAttributeDescription
oldPage AbstractPage
newPagePromise Promise

Return:

Promise

public abstract start() source

Entry point to create a custom Transition.