diff --git a/tests/dummy/app/components/two-lists-example.js b/tests/dummy/app/components/two-lists-example.js index a8b66bc73..a4d421d44 100644 --- a/tests/dummy/app/components/two-lists-example.js +++ b/tests/dummy/app/components/two-lists-example.js @@ -68,6 +68,10 @@ export default Component.extend({ if (this.get('bounceBack') && bounceCounter > 0) { later(() => this.send('move', item, bounceCounter - 1), 1000); } + }, + changeScale(scaleValue) { + this.element.style['transform-origin'] = '0px 0px'; + this.element.style.transform = `scale(${scaleValue})`; } } }); diff --git a/tests/dummy/app/templates/components/two-lists-example.hbs b/tests/dummy/app/templates/components/two-lists-example.hbs index af8394781..3c017c5b0 100644 --- a/tests/dummy/app/templates/components/two-lists-example.hbs +++ b/tests/dummy/app/templates/components/two-lists-example.hbs @@ -1,6 +1,16 @@
+ + + + + + + + + +
{{#animated-container}} @@ -20,5 +30,4 @@
{{/animated-each}} {{/animated-container}} - diff --git a/tests/dummy/app/templates/demos/two-lists.hbs b/tests/dummy/app/templates/demos/two-lists.hbs index e3987f48a..50cd07b7e 100644 --- a/tests/dummy/app/templates/demos/two-lists.hbs +++ b/tests/dummy/app/templates/demos/two-lists.hbs @@ -1 +1 @@ -{{two-lists-example}} \ No newline at end of file +{{two-lists-example}}