add notch declaration

This commit is contained in:
王劲鹏
2020-03-19 14:32:42 +08:00
committed by osborn
parent 06562aa665
commit f9a86a7f88
13 changed files with 132 additions and 1 deletions

View File

@@ -3026,6 +3026,14 @@ function coordinator(context) {
};
}
function notch(context) {
return {
inset: function () {
return context.callNative('notch', 'inset', {});
}
};
}
var __values$5 = (undefined && undefined.__values) || function(o) {
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
if (m) { return m.call(o); }
@@ -3220,6 +3228,7 @@ exports.modal = modal;
exports.navbar = navbar;
exports.navigator = navigator;
exports.network = network;
exports.notch = notch;
exports.notification = notification;
exports.obj2Model = obj2Model;
exports.popover = popover;

View File

@@ -2300,6 +2300,14 @@ function coordinator(context) {
};
}
function notch(context) {
return {
inset: () => {
return context.callNative('notch', 'inset', {});
}
};
}
class Observable {
constructor(provider, clz) {
this.observers = new Set;
@@ -2448,6 +2456,7 @@ exports.modal = modal;
exports.navbar = navbar;
exports.navigator = navigator;
exports.network = network;
exports.notch = notch;
exports.notification = notification;
exports.obj2Model = obj2Model;
exports.popover = popover;

View File

@@ -3759,6 +3759,14 @@ function coordinator(context) {
};
}
function notch(context) {
return {
inset: () => {
return context.callNative('notch', 'inset', {});
}
};
}
class Observable {
constructor(provider, clz) {
this.observers = new Set;
@@ -4042,6 +4050,7 @@ exports.modal = modal;
exports.navbar = navbar;
exports.navigator = navigator;
exports.network = network;
exports.notch = notch;
exports.notification = notification;
exports.obj2Model = obj2Model;
exports.popover = popover;