Home
last modified time | relevance | path

Searched refs:View (Results 1 – 25 of 89) sorted by relevance

1234

/ohos5.0/docs/zh-cn/application-dev/quick-start/
H A Darkts-mvvm.md15 - View:负责用户界面展示数据并与用户交互,不包含任何业务逻辑。它通过绑定ViewModel层提供的数据来动态更新UI。
16 - ViewModel:负责管理UI状态和交互逻辑。作为连接Model和View的桥梁,ViewModel监控Model数据的变化,通知View更新UI,同时处理用户交互事件并转换为数据操作。
28 **View层**
60 * View层不可以直接调用Model层的数据,只能通过ViewModel提供的方法进行调用。
69 这是针对View层设计的核心原则,一个组件应该具备这样的逻辑:
572 **View层**
574 View层根据需要来组织,但View层需要区分一下三种组件:
594 * View
607 import { TodoComponent } from './../View/TodoComponent'
608 import { MultiChooseComponent } from './../View/AllchooseComponent'
[all …]
H A Darkts-mvvm-V2.md5 …,而这种同步往往决定了应用程序的性能和用户体验。为了解决数据与UI同步的复杂性,ArkUI采用了Model-View-ViewModel(MVVM)架构模式。MVVM将应用分为Model、View
8 - View:负责用户界面展示数据并与用户交互,不包含任何业务逻辑。它通过绑定ViewModel层提供的数据来动态更新UI。
9 - ViewModel:负责管理UI状态和交互逻辑。作为连接Model和View的桥梁,ViewModel监控Model数据的变化,通知View更新UI,同时处理用户交互事件并转换为数据操作。
869 …功能的复杂化,代码的结构变得难以维护,Model、View和ViewModel的职责并没有完全分离,仍然存在一定的耦合。为了更好地组织代码和提升可维护性,使用MVVM模式重构代码,进一步将数据层(…
942 ViewModel层负责管理UI状态和业务逻辑,扮演Model和View之间的桥梁角色。在ViewModel中,负责监控Model数据的变化,处理应用的逻辑,并将数据同步到View层,从而实现UI的…
1008 ### View
1010 View层负责应用程序的UI展示和与用户的交互。它只关注如何渲染用户界面和展示数据,不包含业务逻辑。所有的数据状态和逻辑都来自ViewModel层,View层通过接收ViewModel传递的状态数据…
1141 …:todolist的主页面,包含以上的三个View组件(TitleView、ListView、BottomView),用于统一展示待办事项的各个部分,管理任务列表和用户设置。TodoListPag…
1229 本教程通过一个简单的待办事项应用示例,逐步引入了状态管理V2装饰器,并通过代码重构实现了MVVM架构。最终,将数据、逻辑和视图分层,使得代码结构更加清晰、易于维护。合理地使用Model、View和V…
H A Darkts-link.md288 以下示例中,点击父组件ShufflingContainer中的“Parent View: Set yellowButton”和“Parent View: Set GreenButton”,可以从父组…
352 Button('Parent View: Set yellowButton')
361 Button('Parent View: Set GreenButton')
H A Darkts-state-management-overview.md18 自定义组件拥有变量,变量必须被装饰器装饰才可以成为状态变量,状态变量的改变会引起UI的渲染刷新。如果不使用状态变量,UI只能在初始化时渲染,后续将不会再刷新。 下图展示了State和View(UI)…
24 - View(UI):UI渲染,指将build方法内的UI描述和\@Builder装饰的方法内的UI描述映射到界面。
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-graphics-overview.md116 …llback 接口。所有的 Animator 都由 AnimatorManager 统一管理。 Callback 接口入参为当前动画的 View,可以通过修改 View 对应的属性来产生动画效果,…
151 - UIView 为所有 View 的基类,每个 View 实现自己的 OnDraw 绘制函数
152 - 每个 View 显示发生变化时,调用 Invalidate 函数,将当前区域标记为脏区域
154 - 每次刷新信号触发,会遍历绘制所有的 Window,每个 Window 从 RootView 开始先进行 Measure 布局,然后调用 Render 函数绘制,遍历绘制所有脏区域内的 View
H A Dsubsys-arkui-customize-titlebar-c++.md41 > 自定义标题栏的创建入口已经在1、2中完成,接下来就是编写自定义窗口标题栏View的具体实现代码。
57 …文件表示OpenHarmony默认的标题栏View相关代码。厂商可以在container_modal文件夹下添加自定义文件夹,包含自定义窗口标题栏代码。例如:enhance文件夹下的contain…
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/utest/mock/full_update/
H A Dfu_view_native_mock.ts18 constructor(compilerAssignedUniqueChildId: string, parent?: View) {
28 findChildById(compilerAssignedUniqueChildId: string): View {
33 static create(newView: View): void {
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/utest/full_update/
H A Dview_test.ts21 class Parent extends View {
51 constructor(compilerAssignedUniqueChildId: string, parent: View,
93 findChildById(compilerAssignedUniqueChildId: string): View {
117 class Child extends View
154 constructor(compilerAssignedUniqueChildId: string, parent: View,
H A Dview_appstorage_test.ts19 class Player extends View {
35 constructor(compilerAssignedUniqueChildId: string, parent: View,
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/full_update/
H A Dfu_view_native.d.ts23 constructor(compilerAssignedUniqueChildId: string, parent: View);
25 findChildById(compilerAssignedUniqueChildId: string): View;
H A Dfu_view.ts27 abstract class View extends NativeViewFullUpdate implements
79 constructor(compilerAssignedUniqueChildId: string, parent: View, localStorage?: LocalStorage) {
H A Dfu_foreach.d.ts30 owningView: View,
/ohos5.0/docs/en/application-dev/quick-start/
H A Darkts-mvvm.md15 - View: displays data on the UI and interacts with users. No service logic is contained. It dynamic…
16 - ViewModel: manages UI state and interaction logic. As a bridge between Model and View, ViewModel …
28 **View**
60 * View cannot directly call data from Model. Instead, use the methods provided by ViewModel to call.
69 This is the core principle of View design. A component should comply with the following logic:
572 **View**
574 The View layer is organized as required. You need to distinguish the following three types of compo…
594 * View
607 import { TodoComponent } from './../View/TodoComponent'
608 import { MultiChooseComponent } from './../View/AllchooseComponent'
[all …]
H A Darkts-mvvm-V2.md5 …on, ArkUI uses the Model-View-ViewModel (MVVM) architecture. The MVVM divides an application into …
8 - View: displays data on the UI and interacts with users. No service logic is contained. It dynamic…
9 - ViewModel: manages UI state and interaction logic. As a bridge between Model and View, ViewModel …
869View, and ViewModel are not completely separated, and there is still some coupling. To better orga…
942 …idge between Model and View. ViewModel monitors Model data changes, processes application logic, a…
1008 ### View subsection
1010View layer is responsible for UI display of applications and interaction with users. It focuses on…
1141View** components (**TitleView**, **ListView**, and **BottomView**) and is used to display all par…
1229 …ide a clearer code structure and easier maintenance. Proper use of Model, View, and ViewModel help…
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/puv2_common/
H A Dpuv2_view_native_base.d.ts24 findChildById(compilerAssignedUniqueChildId: string): View;
/ohos5.0/base/security/selinux_adapter/
H A DREADME-en.md49 ls -lZ / # View the file label.
50 ls -lLZ / # View the link source file label.
51 ps -eZ # View the process label.
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsVSCode/
H A DREADME.md14 2.找到工程中hcs文件,鼠标单击右键选择“HCS Configuration Source View”插件。
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Dui-js-overview.md22 前端框架层主要完成前端页面解析,并提供MVVM(Model-View-ViewModel)开发模式、页面路由机制和自定义组件等能力。
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/docs/
H A DINSTRUCTION_zh.md32 3.安装完成后,找到需要编辑的hcs文件,鼠标单击右键选择“HCS Configuration Source View”,例如:
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/utest/mock/partial_update/
H A Dpu_view_native_mock.ts41 findChildById(compilerAssignedUniqueChildId: string): View {
/ohos5.0/docs/en/application-dev/notification/
H A DReadme-EN.md11 - [Publishing Live View Notification (for System Applications Only)](live-view-notification.md)
/ohos5.0/docs/en/application-dev/performance/
H A Dapplication-performance-analysis.md19 #### ArkTS Callstack View
27 ![ArkTS Callstack View](figures/arkts-callstack-eg.png)
29 #### Details View
35 ![Details View](figures/details-img-eg.png)
117 ![Chrome Heavy View](figures/heavy-view.png)
121 ![Visual Studio Code Heavy View](figures/vscode-cpuprofile-eg.png)
133 ![Tree View](figures/tree-view.png)
250 ![JavaScript Profile View](figures/jsvascript-profiler-view.png)
/ohos5.0/docs/zh-cn/application-dev/performance/
H A DarkUI-inspector.md49 以DevEco Studio 4.0.0.400版本为例,在DevEco Studio菜单栏上单击***\*View\**** > ***\*Tool Windows\**** >***\*ArkU…
/ohos5.0/docs/en/device-dev/quick-start/
H A Dquickstart-ide-3861-running.md27 AT+STASTAT # View the connection result.
34 …AT+IFCFG # View the IP address assigned to an interface of the modu…
H A Dquickstart-pkg-3861-running.md23 AT+STASTAT # View the connection result.
30 …AT+IFCFG # View the IP address assigned to an interface of the modu…

1234