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