js: draggable deprecated & add touch api
This commit is contained in:
22
doric-web/dist/index.js
vendored
22
doric-web/dist/index.js
vendored
@@ -4048,12 +4048,18 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
||||
var __metadata$2 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
/**
|
||||
* @deprecated The class should not be used
|
||||
*/
|
||||
class Draggable extends Stack {
|
||||
}
|
||||
__decorate$2([
|
||||
Property,
|
||||
__metadata$2("design:type", Function)
|
||||
], Draggable.prototype, "onDrag", void 0);
|
||||
/**
|
||||
* @deprecated The function should not be used
|
||||
*/
|
||||
function draggable(views, config) {
|
||||
const ret = new Draggable;
|
||||
ret.layoutConfig = layoutConfig().fit();
|
||||
@@ -4157,6 +4163,22 @@ __decorate([
|
||||
Property,
|
||||
__metadata("design:type", Function)
|
||||
], GestureContainer.prototype, "onSwipe", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Function)
|
||||
], GestureContainer.prototype, "onTouchDown", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Function)
|
||||
], GestureContainer.prototype, "onTouchMove", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Function)
|
||||
], GestureContainer.prototype, "onTouchUp", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Function)
|
||||
], GestureContainer.prototype, "onTouchCancel", void 0);
|
||||
function gestureContainer(views, config) {
|
||||
const ret = new GestureContainer;
|
||||
ret.layoutConfig = layoutConfig().fit();
|
||||
|
2
doric-web/dist/index.js.map
vendored
2
doric-web/dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user