@coolon/angular-ui-powerups 13.5.0 → 13.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/interaction/activity.mjs +9 -2
- package/fesm2015/coolon-angular-ui-powerups.mjs +8 -1
- package/fesm2015/coolon-angular-ui-powerups.mjs.map +1 -1
- package/fesm2020/coolon-angular-ui-powerups.mjs +8 -1
- package/fesm2020/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/interaction/activity.d.ts +7 -0
- package/package.json +1 -1
|
@@ -5104,9 +5104,16 @@ class Activity extends DisposableComponent {
|
|
|
5104
5104
|
onActivityReady(callback) {
|
|
5105
5105
|
return this.activityReadyListeners.add(callback);
|
|
5106
5106
|
}
|
|
5107
|
-
|
|
5107
|
+
autoFocus(focusable) {
|
|
5108
5108
|
return this.onActivityReady(() => focusable.requestFocus());
|
|
5109
5109
|
}
|
|
5110
|
+
/**
|
|
5111
|
+
* @deprecated use #autoFocus instead
|
|
5112
|
+
* @param focusable
|
|
5113
|
+
*/
|
|
5114
|
+
autoFocusOnActivityReady(focusable) {
|
|
5115
|
+
return this.autoFocus(focusable);
|
|
5116
|
+
}
|
|
5110
5117
|
get ready$() {
|
|
5111
5118
|
return this._ready$.readonly;
|
|
5112
5119
|
}
|