style(item): fixes all gulp validate errors

This commit is contained in:
Manu Mtz.-Almeida
2016-06-24 18:53:07 +02:00
parent 3c267cebcb
commit f01a440314
2 changed files with 4 additions and 4 deletions

View File

@ -110,7 +110,7 @@ export class Reorder {
this.setCssClass('reorder-active', false);
let transform = CSS.transform;
for (let i = 0; i < len; i++) {
children[i].style[transform] = '';
(<any>children[i]).style[transform] = '';
}
this._lastToIndex = -1;
}
@ -136,7 +136,7 @@ export class Reorder {
if (toIndex >= lastToIndex) {
for (var i = lastToIndex; i <= toIndex; i++) {
if (i !== fromIndex) {
children[i].style[transform] = (i > fromIndex)
(<any>children[i]).style[transform] = (i > fromIndex)
? `translateY(${-itemHeight}px)` : '';
}
}
@ -145,7 +145,7 @@ export class Reorder {
if (toIndex <= lastToIndex) {
for (var i = toIndex; i <= lastToIndex; i++) {
if (i !== fromIndex) {
children[i].style[transform] = (i < fromIndex)
(<any>children[i]).style[transform] = (i < fromIndex)
? `translateY(${itemHeight}px)` : '';
}
}

View File

@ -71,7 +71,7 @@ ion-item-sliding.active-slide {
z-index: $z-index-item-options + 1;
opacity: 1;
transition: transform 500ms cubic-bezier(.36, .66, .04, 1);
transition: transform 500ms cubic-bezier(.36, .66, .04, 1);
pointer-events: none;