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

@@ -3817,6 +3817,14 @@ function coordinator(context) {
};
}
function notch(context) {
return {
inset: () => {
return context.callNative('notch', 'inset', {});
}
};
}
class Observable {
constructor(provider, clz) {
this.observers = new Set;
@@ -3965,6 +3973,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;

File diff suppressed because one or more lines are too long