mirror of
https://gitee.com/openharmony/arkui_advanced_ui_component
synced 2024-11-23 07:09:58 +00:00
commit
73bf5eb90a
@ -247,7 +247,6 @@ export struct AtomicServiceWeb {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
url = this.cutUrl(url);
|
url = this.cutUrl(url);
|
||||||
console.log(`AtomicServiceWebLog checkUrl url=${url}`);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -190,6 +190,8 @@ export class InnerFullScreenLaunchComponent extends ViewPU {
|
|||||||
flags: this.options?.flags,
|
flags: this.options?.flags,
|
||||||
parameters: this.options?.parameters
|
parameters: this.options?.parameters
|
||||||
});
|
});
|
||||||
|
UIExtensionComponent.backgroundColor({ 'id': -1, 'type': 10001, params: ['sys.color.ohos_id_color_titlebar_bg'], 'bundleName': '__harDefaultBundleName__', 'moduleName': '__harDefaultModuleName__' });
|
||||||
|
UIExtensionComponent.defaultFocus(true);
|
||||||
UIExtensionComponent.height('100%');
|
UIExtensionComponent.height('100%');
|
||||||
UIExtensionComponent.width('100%');
|
UIExtensionComponent.width('100%');
|
||||||
UIExtensionComponent.onRelease(() => {
|
UIExtensionComponent.onRelease(() => {
|
||||||
|
@ -151,6 +151,8 @@ export struct InnerFullScreenLaunchComponent {
|
|||||||
flags: this.options?.flags,
|
flags: this.options?.flags,
|
||||||
parameters: this.options?.parameters
|
parameters: this.options?.parameters
|
||||||
})
|
})
|
||||||
|
.backgroundColor($r('sys.color.ohos_id_color_titlebar_bg'))
|
||||||
|
.defaultFocus(true)
|
||||||
.height('100%')
|
.height('100%')
|
||||||
.width('100%')
|
.width('100%')
|
||||||
.onRelease(
|
.onRelease(
|
||||||
|
@ -28,7 +28,7 @@ public:
|
|||||||
static int32_t SilentInstall(const std::string& moduleName, const std::function<void()>& callback,
|
static int32_t SilentInstall(const std::string& moduleName, const std::function<void()>& callback,
|
||||||
const std::function<void(int32_t, const std::string&)>& silentInstallErrorCallBack);
|
const std::function<void(int32_t, const std::string&)>& silentInstallErrorCallBack);
|
||||||
static bool IsHspExist(const std::string& moduleName, const std::string& pathName);
|
static bool IsHspExist(const std::string& moduleName, const std::string& pathName);
|
||||||
static void InitRouteMap();
|
static void UpdateRouteMap();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static OHOS::sptr<OHOS::AppExecFwk::IBundleMgr> GetBundleManager();
|
static OHOS::sptr<OHOS::AppExecFwk::IBundleMgr> GetBundleManager();
|
||||||
|
@ -26,7 +26,7 @@ class HspSilentInstallNapi {
|
|||||||
public:
|
public:
|
||||||
static napi_value SilentInstall(napi_env env, napi_callback_info info);
|
static napi_value SilentInstall(napi_env env, napi_callback_info info);
|
||||||
static napi_value IsHspExist(napi_env env, napi_callback_info info);
|
static napi_value IsHspExist(napi_env env, napi_callback_info info);
|
||||||
static napi_value InitRouteMap(napi_env env, napi_callback_info info);
|
static napi_value UpdateRouteMap(napi_env env, napi_callback_info info);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
struct CallbackData {
|
struct CallbackData {
|
||||||
|
Loading…
Reference in New Issue
Block a user