@tarojs/taro-h5 3.7.0-alpha.1 → 3.7.0-alpha.2
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/dist/api/ai/index.d.ts +2 -2
- package/dist/api/base/index.d.ts +7 -7
- package/dist/api/canvas/index.d.ts +4 -4
- package/dist/api/device/index.d.ts +23 -23
- package/dist/api/index.d.ts +24 -24
- package/dist/api/location/index.d.ts +2 -2
- package/dist/api/media/audio/InnerAudioContext.d.ts +1 -1
- package/dist/api/media/background-audio/BackgroundAudioManager.d.ts +1 -1
- package/dist/api/media/background-audio/index.d.ts +1 -1
- package/dist/api/media/image/index.d.ts +3 -3
- package/dist/api/media/index.d.ts +12 -12
- package/dist/api/network/index.d.ts +7 -7
- package/dist/api/open-api/index.d.ts +18 -18
- package/dist/api/storage/index.d.ts +1 -1
- package/dist/api/ui/index.d.ts +12 -12
- package/dist/api/wxml/IntersectionObserver.js +7 -7
- package/dist/api/wxml/IntersectionObserver.js.map +1 -1
- package/dist/api/wxml/nodesRef.d.ts +1 -1
- package/dist/api/wxml/selectorQuery.d.ts +1 -1
- package/dist/index.cjs.js +7 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +7 -7
- package/dist/index.esm.js.map +1 -1
- package/dist/utils/index.d.ts +3 -3
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import taro from "./api/taro
|
|
2
|
-
export * from "./api/index
|
|
3
|
-
export * from "./api/taro
|
|
1
|
+
import taro from "./api/taro";
|
|
2
|
+
export * from "./api/index";
|
|
3
|
+
export * from "./api/taro";
|
|
4
4
|
export { taro as default };
|
package/dist/index.esm.js
CHANGED
|
@@ -5099,13 +5099,6 @@ const createWorker = temporarilyNotSupport('createWorker');
|
|
|
5099
5099
|
// pollify
|
|
5100
5100
|
import('intersection-observer');
|
|
5101
5101
|
class TaroH5IntersectionObserver {
|
|
5102
|
-
// selector 的容器节点
|
|
5103
|
-
get container() {
|
|
5104
|
-
const container = (this._component !== null
|
|
5105
|
-
? (findDOM(this._component) || document)
|
|
5106
|
-
: document);
|
|
5107
|
-
return container;
|
|
5108
|
-
}
|
|
5109
5102
|
constructor(component, options = {}) {
|
|
5110
5103
|
// 选项
|
|
5111
5104
|
this._options = {
|
|
@@ -5122,6 +5115,13 @@ class TaroH5IntersectionObserver {
|
|
|
5122
5115
|
this._component = component;
|
|
5123
5116
|
Object.assign(this._options, options);
|
|
5124
5117
|
}
|
|
5118
|
+
// selector 的容器节点
|
|
5119
|
+
get container() {
|
|
5120
|
+
const container = (this._component !== null
|
|
5121
|
+
? (findDOM(this._component) || document)
|
|
5122
|
+
: document);
|
|
5123
|
+
return container;
|
|
5124
|
+
}
|
|
5125
5125
|
createInst() {
|
|
5126
5126
|
// 去除原本的实例
|
|
5127
5127
|
this.disconnect();
|