mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
chore(docs): updating dgeni typescript package
This commit is contained in:
@ -9,7 +9,7 @@ import { UIEventManager } from './ui-event-manager';
|
||||
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @hidden
|
||||
*/
|
||||
export class PanGesture {
|
||||
private debouncer: DomDebouncer;
|
||||
@ -177,7 +177,7 @@ export class PanGesture {
|
||||
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @hidden
|
||||
*/
|
||||
export interface PanGestureConfig {
|
||||
threshold?: number;
|
||||
|
@ -3,7 +3,7 @@ import { HammerGestureConfig } from '@angular/platform-browser';
|
||||
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @hidden
|
||||
* This class overrides the default Angular gesture config.
|
||||
*/
|
||||
@Injectable()
|
||||
|
@ -2,40 +2,40 @@ import { forwardRef, Inject, Injectable } from '@angular/core';
|
||||
import { App } from '../components/app/app';
|
||||
import { assert } from '../util/util';
|
||||
|
||||
/** @private */
|
||||
/** @hidden */
|
||||
export const GESTURE_GO_BACK_SWIPE = 'goback-swipe';
|
||||
|
||||
/** @private */
|
||||
/** @hidden */
|
||||
export const GESTURE_MENU_SWIPE = 'menu-swipe';
|
||||
|
||||
/** @private */
|
||||
/** @hidden */
|
||||
export const GESTURE_ITEM_SWIPE = 'item-swipe';
|
||||
|
||||
/** @private */
|
||||
/** @hidden */
|
||||
export const GESTURE_REFRESHER = 'refresher';
|
||||
|
||||
/** @private */
|
||||
/** @hidden */
|
||||
export const GESTURE_TOGGLE = 'toggle';
|
||||
|
||||
|
||||
/** @private */
|
||||
/** @hidden */
|
||||
export const GESTURE_PRIORITY_SLIDING_ITEM = -10;
|
||||
|
||||
/** @private */
|
||||
/** @hidden */
|
||||
export const GESTURE_PRIORITY_REFRESHER = 0;
|
||||
|
||||
/** @private */
|
||||
/** @hidden */
|
||||
export const GESTURE_PRIORITY_MENU_SWIPE = 10;
|
||||
|
||||
/** @private */
|
||||
/** @hidden */
|
||||
export const GESTURE_PRIORITY_GO_BACK_SWIPE = 20;
|
||||
|
||||
/** @private */
|
||||
/** @hidden */
|
||||
export const GESTURE_PRIORITY_TOGGLE = 30;
|
||||
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @hidden
|
||||
*/
|
||||
export interface GestureOptions {
|
||||
name: string;
|
||||
@ -44,7 +44,7 @@ export interface GestureOptions {
|
||||
}
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @hidden
|
||||
*/
|
||||
export interface BlockerOptions {
|
||||
disableScroll?: boolean;
|
||||
@ -52,7 +52,7 @@ export interface BlockerOptions {
|
||||
}
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @hidden
|
||||
*/
|
||||
export const BLOCK_ALL: BlockerOptions = {
|
||||
disable: [GESTURE_MENU_SWIPE, GESTURE_GO_BACK_SWIPE],
|
||||
@ -60,7 +60,7 @@ export const BLOCK_ALL: BlockerOptions = {
|
||||
};
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @hidden
|
||||
*/
|
||||
@Injectable()
|
||||
export class GestureController {
|
||||
@ -200,7 +200,7 @@ export class GestureController {
|
||||
}
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @hidden
|
||||
*/
|
||||
export class GestureDelegate {
|
||||
|
||||
@ -258,7 +258,7 @@ export class GestureDelegate {
|
||||
}
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @hidden
|
||||
*/
|
||||
export class BlockerDelegate {
|
||||
|
||||
|
@ -2,7 +2,7 @@ import { defaults } from '../util/util';
|
||||
import { Hammer, DIRECTION_HORIZONTAL, DIRECTION_VERTICAL } from './hammer';
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @hidden
|
||||
* A gesture recognizer class.
|
||||
*
|
||||
* TODO(mlynch): Re-enable the DOM event simulation that was causing issues (or verify hammer does this already, it might);
|
||||
|
@ -2,7 +2,7 @@ import { assert } from '../util/util';
|
||||
import { Platform, EventListenerOptions } from '../platform/platform';
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @hidden
|
||||
*/
|
||||
export class PointerEvents {
|
||||
private rmTouchStart: Function = null;
|
||||
|
@ -4,7 +4,7 @@ import { pointerCoord } from '../util/dom';
|
||||
import { Platform } from '../platform/platform';
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @hidden
|
||||
*/
|
||||
export class SlideEdgeGesture extends SlideGesture {
|
||||
public edges: Array<string>;
|
||||
|
@ -4,7 +4,7 @@ import { Platform } from '../platform/platform';
|
||||
import { pointerCoord } from '../util/dom';
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @hidden
|
||||
*/
|
||||
export class SlideGesture extends PanGesture {
|
||||
public slide: SlideData = null;
|
||||
@ -92,7 +92,7 @@ export class SlideGesture extends PanGesture {
|
||||
}
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @hidden
|
||||
*/
|
||||
export interface SlideData {
|
||||
min: number;
|
||||
|
@ -3,7 +3,7 @@ import { Platform, EventListenerOptions } from '../platform/platform';
|
||||
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @hidden
|
||||
*/
|
||||
export class UIEventManager {
|
||||
private evts: Function[] = [];
|
||||
|
Reference in New Issue
Block a user