mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
style: missing whitespaces
This commit is contained in:
@ -245,7 +245,7 @@ export class PickerColumnCmp {
|
||||
this.velocity = 0;
|
||||
}
|
||||
|
||||
//console.debug(`decelerate y: ${y}, velocity: ${this.velocity}, optHeight: ${this.optHeight}`);
|
||||
// console.debug(`decelerate y: ${y}, velocity: ${this.velocity}, optHeight: ${this.optHeight}`);
|
||||
|
||||
var notLockedIn = (y % this.optHeight !== 0 || Math.abs(this.velocity) > 1);
|
||||
|
||||
|
@ -42,7 +42,7 @@ export class Haptic {
|
||||
* Trigger a selection changed haptic event. Good for one-time events (not for gestures)
|
||||
*/
|
||||
selection() {
|
||||
if(!this.plugin) {
|
||||
if (!this.plugin) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -53,7 +53,7 @@ export class Haptic {
|
||||
* Tell the haptic engine that a gesture for a selection change is starting.
|
||||
*/
|
||||
gestureSelectionStart() {
|
||||
if(!this.plugin) {
|
||||
if (!this.plugin) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -64,7 +64,7 @@ export class Haptic {
|
||||
* Tell the haptic engine that a selection changed during a gesture.
|
||||
*/
|
||||
gestureSelectionChanged() {
|
||||
if(!this.plugin) {
|
||||
if (!this.plugin) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -76,7 +76,7 @@ export class Haptic {
|
||||
* called lest resources are not properly recycled.
|
||||
*/
|
||||
gestureSelectionEnd() {
|
||||
if(!this.plugin) {
|
||||
if (!this.plugin) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -88,7 +88,7 @@ export class Haptic {
|
||||
* options should be of the type { type: 'success' } (or 'warning'/'error')
|
||||
*/
|
||||
notification(options: { type: string }) {
|
||||
if(!this.plugin) {
|
||||
if (!this.plugin) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -100,7 +100,7 @@ export class Haptic {
|
||||
* options should be of the type { style: 'light' } (or 'medium'/'heavy')
|
||||
*/
|
||||
impact(options: { style: string }) {
|
||||
if(!this.plugin) {
|
||||
if (!this.plugin) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user