chore(): update to ionic-rules/strict

This commit is contained in:
Manu Mtz.-Almeida
2018-07-29 23:10:26 +02:00
parent 7292fc7d38
commit c1b61d0fee
148 changed files with 354 additions and 407 deletions

View File

@ -1,10 +1,10 @@
import { Component, Element, Prop, QueueApi } from '@stencil/core';
import { GestureDetail, Mode, PickerColumn, PickerColumnOption } from '../../interface';
import { hapticSelectionChanged } from '../../utils';
import { clamp } from '../../utils/helpers';
import { createThemedClasses } from '../../utils/theme';
/** @hidden */
@Component({
tag: 'ion-picker-column'
@ -237,8 +237,6 @@ export class PickerColumnCmp {
}
private onDragStart(detail: GestureDetail): boolean {
console.debug('picker, onDragStart', detail, this.startY);
// We have to prevent default in order to block scrolling under the picker
// but we DO NOT have to stop propagation, since we still want
// some "click" events to capture
@ -313,8 +311,6 @@ export class PickerColumnCmp {
return;
}
console.debug('picker, onDragEnd', detail);
this.velocity = 0;
if (this.bounceFrom > 0) {
@ -431,7 +427,7 @@ export class PickerColumnCmp {
<button
class={{ 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }}
disable-activated
onClick={(event) => this.optClick(event, index)}>
onClick={event => this.optClick(event, index)}>
{o.text}
</button>
)}