@aurelia-mdc-web/base
Advanced tools
Comparing version 7.1.0 to 7.1.1
@@ -19,6 +19,8 @@ define(["require", "exports", "tslib", "aurelia-dependency-injection", "aurelia-templating", "aurelia-typed-observable-plugin", "@material/dom/focus-trap"], function (require, exports, tslib_1, aurelia_dependency_injection_1, aurelia_templating_1, aurelia_typed_observable_plugin_1, focus_trap_1) { | ||
MdcFocusTrap.prototype.trapFocus = function () { | ||
this.focusTrap.trapFocus(); | ||
var _a; | ||
(_a = this.focusTrap) === null || _a === void 0 ? void 0 : _a.trapFocus(); | ||
}; | ||
MdcFocusTrap.prototype.releaseFocus = function () { | ||
this.focusTrap.releaseFocus(); | ||
var _a; | ||
(_a = this.focusTrap) === null || _a === void 0 ? void 0 : _a.releaseFocus(); | ||
}; | ||
@@ -25,0 +27,0 @@ tslib_1.__decorate([ |
@@ -23,6 +23,8 @@ "use strict"; | ||
MdcFocusTrap.prototype.trapFocus = function () { | ||
this.focusTrap.trapFocus(); | ||
var _a; | ||
(_a = this.focusTrap) === null || _a === void 0 ? void 0 : _a.trapFocus(); | ||
}; | ||
MdcFocusTrap.prototype.releaseFocus = function () { | ||
this.focusTrap.releaseFocus(); | ||
var _a; | ||
(_a = this.focusTrap) === null || _a === void 0 ? void 0 : _a.releaseFocus(); | ||
}; | ||
@@ -29,0 +31,0 @@ tslib_1.__decorate([ |
@@ -20,6 +20,8 @@ import { __decorate, __metadata } from "tslib"; | ||
trapFocus() { | ||
this.focusTrap.trapFocus(); | ||
var _a; | ||
(_a = this.focusTrap) === null || _a === void 0 ? void 0 : _a.trapFocus(); | ||
} | ||
releaseFocus() { | ||
this.focusTrap.releaseFocus(); | ||
var _a; | ||
(_a = this.focusTrap) === null || _a === void 0 ? void 0 : _a.releaseFocus(); | ||
} | ||
@@ -26,0 +28,0 @@ }; |
@@ -20,6 +20,8 @@ import { __decorate, __metadata } from "tslib"; | ||
MdcFocusTrap.prototype.trapFocus = function () { | ||
this.focusTrap.trapFocus(); | ||
var _a; | ||
(_a = this.focusTrap) === null || _a === void 0 ? void 0 : _a.trapFocus(); | ||
}; | ||
MdcFocusTrap.prototype.releaseFocus = function () { | ||
this.focusTrap.releaseFocus(); | ||
var _a; | ||
(_a = this.focusTrap) === null || _a === void 0 ? void 0 : _a.releaseFocus(); | ||
}; | ||
@@ -26,0 +28,0 @@ __decorate([ |
@@ -5,3 +5,3 @@ import { FocusTrap } from '@material/dom/focus-trap'; | ||
constructor(root: HTMLElement); | ||
focusTrap: FocusTrap; | ||
focusTrap?: FocusTrap; | ||
delay: boolean; | ||
@@ -8,0 +8,0 @@ initialFocusEl?: HTMLElement | (() => HTMLElement); |
{ | ||
"name": "@aurelia-mdc-web/base", | ||
"version": "7.1.0", | ||
"version": "7.1.1", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
216162
1856