From 4c5723d29154b58433281a6ba072caa1a04d93c9 Mon Sep 17 00:00:00 2001 From: Levi Tan Ong Date: Wed, 12 Nov 2014 17:30:32 +0800 Subject: [PATCH] Moves lastSelected to a publish block, then set reflect to true. Fixes #30 --- core-animated-pages.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core-animated-pages.html b/core-animated-pages.html index 4f102f1..948e117 100644 --- a/core-animated-pages.html +++ b/core-animated-pages.html @@ -272,7 +272,12 @@ * @type Object * @default null */ - lastSelected: null, + publish: { + lastSelected: { + value: null, + reflect: true + }, + }, registerCallback: function() { this.tmeta = document.createElement('core-transition');