In addition to theuniversal styles, the following styles are supported. Events Theuniversal eventsare supported. Example For details, seeExample of the <list> component. 你可能感兴趣的鸿蒙文章 harmony 鸿蒙JS Service Widget UI Components harmony 鸿蒙Data Types harmony 鸿蒙button harmony 鸿蒙calendar ha...
The<list>component provides a list container that presents a series of list items arranged in a column with the same width. It supports presentations of the same type of data in a multiple and coherent row style, for example, images or text. Required Permissions None Child Components The<list...
If no size is set for the main axis of the<List>component, the size of the<List>component in the main axis direction automatically adapts to the total size of its child components, as long as the total size of the child components in the main axis direction does not exceed the size of...
: Resource; constructor(title: Resource, img: Resource, others?: Resource) {this.title =title;this.img =img;this.others =others; } } 然后就可以准备列表数据了,如下: import ItemDatafrom'./ItemData';/** * Binds data to components and provides interfaces.*/exportclassMainViewModel {/** * Ge...
What you are reading now is the developer documentation of HarmonyOS Developer 3.0, corresponding to API 8 Release. This version has been archived and is no longer maintained. You are advised to use the latest version. Guide Development Java-based Development UI Java UI Framework Common ...
ListComponent.ListLayoutConfig java.lang.Object |---ohos.agp.components.ComponentContainer.LayoutC……欲了解更多信息欢迎访问华为HarmonyOS开发者官网
A helper class that implements the linear stick effect. ListAdornment Implements special drawing and layout offsets for components in the provider's data set. ListAdornment.ListAdornmentCleaner Implements the release of the ListAdornment object. ListComponentPool Implements the caching of components to ...
AGCAppLinkingComponents AGCResolvedLink AGCShortAppLinking Enumerations Overview AGCLinkingAndroidOpenType AGCLinkingPreviewType AGCShortLinkingLength AGCAppLinkingErrorCode Type Definitions Overview AGCShortAppLinkingCallBack HarmonyOS Java com.huawei.agconnect.applinking Overview...
acarbonisable substtances carbonisable substtances[translate] aWe list safety components below as they are different from the details shown in the Test Report or not listed in the Test Report . 因为他们是与在实验报告,显示在实验报告或没列出的细节不同我们如下列出安全组分。[translate]...
* Binds data to components and provides interfaces. */ export class MainViewModel { /** * Get data of the setting list. * * @return {Array<PageResource>} settingListData. */ getSettingListData(): Array<ItemData> { let settingListData: ItemData[] = [ ...