Skip to content

Commit

Permalink
feat(swapOrder): add swaporder property for concurrent enter/leave tr…
Browse files Browse the repository at this point in the history
…ansitions
  • Loading branch information
mroseboom committed Dec 5, 2016
1 parent 04c5b4a commit 68b52e5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/compose.js
Expand Up @@ -35,6 +35,14 @@ export class Compose {
*/
@bindable viewModel

/**
* SwapOrder to control the swaping order of the custom element's view.
*
* @property view
* @type {String}
*/
@bindable swapOrder;

/**
* Creates an instance of Compose.
* @param element The Compose element.
Expand Down Expand Up @@ -168,7 +176,8 @@ function createInstruction(composer, instruction) {
viewSlot: composer.viewSlot,
viewResources: composer.viewResources,
currentController: composer.currentController,
host: composer.element
host: composer.element,
swapOrder: composer.swapOrder
});
}

Expand Down

0 comments on commit 68b52e5

Please sign in to comment.