Home
last modified time | relevance | path

Searched refs:navigator (Results 1 – 25 of 50) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dnavigator_model_impl.cpp34 navigator->SetType(value); in SetType()
40 if (navigator) { in SetActive()
41 navigator->SetActive(active); in SetActive()
48 if (navigator) { in SetUri()
49 navigator->SetUri(uri); in SetUri()
56 if (navigator) { in SetParams()
57 navigator->SetParams(params); in SetParams()
64 if (navigator) { in SetIsDefWidth()
65 navigator->SetIsDefWidth(true); in SetIsDefWidth()
72 if (navigator) { in SetIsDefHeight()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/navigator/
H A Drender_navigator.cpp39 auto navigator = wp.Upgrade(); in Initialize() local
40 if (!navigator) { in Initialize()
47 navigator->HandleClickEvent(); in Initialize()
49 navigator->NavigatePage(); in Initialize()
82 if (!navigator) { in Update()
88 uri_ = navigator->GetUri(); in Update()
89 params_ = navigator->GetParams(); in Update()
90 type_ = navigator->GetType(); in Update()
91 active_ = navigator->GetActive(); in Update()
92 isDefHeight_ = navigator->IsDefHeight(); in Update()
[all …]
H A DBUILD.gn17 build_component("navigator") {
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/
H A DArkNavigator.ts48 getUINativeModule().navigator.resetParams(node);
50 getUINativeModule().navigator.setParams(node, this.value);
63 getUINativeModule().navigator.resetType(node);
65 getUINativeModule().navigator.setType(node, this.value);
78 getUINativeModule().navigator.resetActive(node);
80 getUINativeModule().navigator.setActive(node, this.value);
93 getUINativeModule().navigator.resetTarget(node);
95 getUINativeModule().navigator.setTarget(node, this.value);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/navigation_bar/
H A Dnavigation_container_element.cpp32 auto navigator = AceType::DynamicCast<NavigatorElement>(element); in ConnectNavigator() local
33 if (navigator) { in ConnectNavigator()
34 navigator->SetTargetContainer(targetContainer, true); in ConnectNavigator()
41 navigator->OnClick(); in ConnectNavigator()
/ohos5.0/docs/zh-cn/application-dev/application-models/
H A Dpage-mission-stack.md14 2. 点击Page1页面按钮([Navigator](../reference/apis-arkui/arkui-ts/ts-container-navigator.md))跳转到Page2页面。
16 3. 点击Page2页面按钮([Navigator](../reference/apis-arkui/arkui-ts/ts-container-navigator.md))跳转到Page3页面。
20 5. 点击PageA页面按钮([Navigator](../reference/apis-arkui/arkui-ts/ts-container-navigator.md))跳转到PageB页面。
22 6. 点击PageB页面按钮([Navigator](../reference/apis-arkui/arkui-ts/ts-container-navigator.md))跳转到PageC页面。
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/navigator/
H A Dnavigator_pattern_test_ng.cpp51 NavigatorModelNG navigator; in CreateNavigator() local
52 navigator.Create(); in CreateNavigator()
54 navigator.SetType(testProperty.typeValue.value()); in CreateNavigator()
55 navigator.SetUri(testProperty.url.value()); in CreateNavigator()
56 navigator.SetActive(testProperty.active.value()); in CreateNavigator()
57 navigator.SetParams(testProperty.params.value()); in CreateNavigator()
/ohos5.0/docs/zh-cn/application-dev/web/
H A Dweb-default-userAgent.md145 const isOpenHarmony = () => /OpenHarmony/i.test(navigator.userAgent);
153 const matches = navigator.userAgent.match(/OpenHarmony (\d+\.?\d*)/);
163 const isPhone = () => /Phone/i.test(navigator.userAgent);
166 const isTablet = () => /Tablet/i.test(navigator.userAgent);
169 const is2in1 = () => /PC/i.test(navigator.userAgent);
H A Dweb-geolocation-permission.md36 if (navigator.geolocation) {
38 navigator.geolocation.getCurrentPosition(showPosition);
H A Dweb-rtc.md18 通过在JavaScript中调用W3C标准协议接口navigator.mediaDevices.getUserMedia(),该接口用于拉起摄像头和麦克风。constraints参数是一个包含了vi…
127 let promise = navigator.mediaDevices.getUserMedia(constraints);
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-container-stepper-item.md6 The **\<stepper-item>** component displays a step in the step navigator. This component is the chil…
25 | label | Label | No| Button text at the bottom of the customized step navigator. Dynamic modificat…
31 | prevLabel | string | - | Text content of the previous button at the bottom of the step navigator.|
32 | nextLabel | string | - | Text content of the next button at the bottom of the step navigator.|
33 | status | string | normal | Initial status of the current step in the step navigator. Available va…
H A Djs-components-container-stepper.md7 The **\<stepper>** component provides a step navigator. When multiple steps are required to complet…
48 | finish | - | Triggered when the last step on the navigator
50 … Triggered when users click the left or right (text) button of the step navigator to switch betwee…
61 …abel: label } | Sets the text and status of the next button in the step navigator. **label** indic…
/ohos5.0/docs/en/application-dev/application-models/
H A Dpage-mission-stack.md15 …on Page1. The [Navigator](../reference/apis-arkui/arkui-ts/ts-container-navigator.md) method is ca…
17 …on Page2. The [Navigator](../reference/apis-arkui/arkui-ts/ts-container-navigator.md) method is ca…
21 …on PageA. The [Navigator](../reference/apis-arkui/arkui-ts/ts-container-navigator.md) method is ca…
23 …on PageB. The [Navigator](../reference/apis-arkui/arkui-ts/ts-container-navigator.md) method is ca…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-navigator.md121 Navigator({ target: 'pages/container/navigator/Detail', type: NavigationType.Push }) {
162 Navigator({ target: 'pages/container/navigator/Back', type: NavigationType.Push }) {
185 Navigator({ target: 'pages/container/navigator/Navigator', type: NavigationType.Back }) {
/ohos5.0/docs/en/application-dev/web/
H A Dweb-default-userAgent.md145 const isOpenHarmony = () => /OpenHarmony/i.test(navigator.userAgent);
153 const matches = navigator.userAgent.match(/OpenHarmony (\d+\.?\d*)/);
163 const isPhone = () => /Phone/i.test(navigator.userAgent);
166 const isTablet = () => /Tablet/i.test(navigator.userAgent);
169 const is2in1 = () => /PC/i.test(navigator.userAgent);
H A Dweb-geolocation-permission.md36 if (navigator.geolocation) {
38 navigator.geolocation.getCurrentPosition(showPosition);
H A Dweb-rtc.md3 …rt a camera and microphone by calling the W3C Standards-compliant API **navigator.mediaDevices.get…
127 let promise = navigator.mediaDevices.getUserMedia(constraints);
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-navigator.md122 Navigator({ target: 'pages/container/navigator/Detail', type: NavigationType.Push }) {
163 Navigator({ target: 'pages/container/navigator/Back', type: NavigationType.Push }) {
186 Navigator({ target: 'pages/container/navigator/Navigator', type: NavigationType.Back }) {
H A Dts-basic-components-stepper.md3 The **Stepper** component provides a step navigator, suitable for guiding users through a step-by-s…
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/
H A Dparser.js61 if (navigator.userAgent.toLowerCase().indexOf('win') > -1) {
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/
H A DBUILD.gn64 "navigator:navigator_test_ng",
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/
H A DBUILD.gn97 "pattern/navigator:navigator_test_ng",
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/
H A DBUILD.gn266 "navigator/navigator_event_hub.cpp",
267 "navigator/navigator_model_ng.cpp",
268 "navigator/navigator_pattern.cpp",
/ohos5.0/docs/zh-cn/application-dev/faqs/
H A Dfaqs-arkui-web.md268 在HTML页面内通过window.navigator.onLine获取网络状态,联网和断网情况下均为false。
/ohos5.0/docs/en/application-dev/faqs/
H A Dfaqs-arkui-animation-interactive-event.md54 ## How do I disable the page transition effect when the router or navigator is used for page transi…

12