harmony(鸿蒙)JS API Changes of the ArkUI Development Framework

2022-08-09 浏览 (829)

JS API Changes of the ArkUI Development Framework

The table below lists the APIs changes of the ArkUI development framework in OpenHarmony 3.1 Release over OpenHarmony 3.0 LTS.

API Changes

Component TypeComponent NameChange TypeChange Description
Universal eventonFocus/onBlurAddedAdded the focus events.
Universal eventonHover/onMouseAddedAdded the mouse events.
Universal eventonAreaChangeAddedAdded the event indicating component area (including the size and position) changes.
Universal attributestateStylesAddedAdded the attribute for polymorphic style settings.
Universal attributeresponseRegionAddedAdded the attribute for touch hotspot settings.
Universal attributetouchableAddedAdded the attribute that specifies whether a component is touchable.
Universal attributefocusableAddedAdded the attribute that specifies whether a component can gain focus.
Universal attributebindPopupAddedAdded the layout customization capability for pop-up windows.
Universal attributebindMenuAddedAdded the layout customization capability for menus.
Universal attributehoverEffectAddedAdded the attribute that specifies the hover effect of a component.
General gestureSwipeGestureAddedAdded the swipe gesture.
Basic componentImageAddedAdded the syncLoad attribute to specify whether data is loaded synchronously.
Basic componentSwiperAddedAdded the cachedCount attribute to set the number of preloaded child components.
Basic componentSwiperAddedAdded the disableSwipe attribute to disable component swipe.
Basic componentSliderAddedAdded the vertical slider.
Basic componentTabContentAddedAdded the tabbar attribute to provide the layout customization capability.
Basic componentMarqueeAddedAdded the <Marquee> component.
Basic componentGaugeAddedAdded the <Gauge> component.
Basic componentPluginComponentAddedAdded the <PluginComponent> component.
Basic componentTextAreaAddedAdded the <TextArea> component.
Basic componentTextInputAddedAdded the <TextInput> component.
Basic componentToggleAddedAdded the <Toggle> component.
Container componentListAddedAdded the <List> component.
Container componentScrollBarAddedAdded the <ScrollBar> component.
Container componentNavigationAddedAdded the <Navigation> component.
Container componentStepperAddedAdded the <Stepper> component.
Container componentStepperItemAddedAdded the <StepperItem> component.
Canvas componentCanvasAddedAdded the <Canvas> component.
Canvas componentLottieAddedAdded the support for the Lottie library.
Global UI methodActionSheetAddedAdded the support for the list selection dialog box.
Basic componentWebAddedAdded the <Web> component.
Basic componentCheckboxAddedAdded the <Checkbox> component to enable or disable an option.
Basic componentCheckboxGroupAddedAdded the <CheckboxGroup> component to select or deselect all check boxes in a group.
Basic componentDatePickerAddedAdded the <DatePicker> component to allow users to select a date from the given range.
Basic componentTextPickerAddedAdded the <TextPicker> component.
Basic componentPatternLockAddedAdded the <PatternLock> component to allow users to use a pattern password for authentication.
Basic componentRichTextAddedAdded the <RichText> component to parse and display HTML text.
Basic componentSearchAddedAdded the <Search> component to provide an input area for users to search.
Basic componentSelectAddedAdded the <Select> component to provide a drop-down list box that allows users to select among multiple options.
Basic componentTextClockAddedAdded the <TextClock> component.
Container componentRefreshAddedAdded the <Refresh> component.
Container componentSideBarContainerAddedAdded the <SideBarContainer> component.
Global UI methodTextPickerDialogAddedAdded the <TextPickerDialog> component.
Global UI methodTimePickerDialogAddedAdded the <TimePickerDialog> component.
Global UI methodDatePickerDialogAddedAdded the <DatePickerDialog> component.

你可能感兴趣的鸿蒙文章

harmony(鸿蒙)Readme

harmony(鸿蒙)Updates (OpenHarmony 3.1 Beta -> OpenHarmony 3.1 Release)

harmony(鸿蒙)JS API Changes of the Ability Framework

harmony(鸿蒙)JS API Changes of the Accessibility Subsystem

harmony(鸿蒙)JS API Changes of the Account Subsystem

harmony(鸿蒙)JS API Changes of the Power Management Subsystem

harmony(鸿蒙)JS API Changes of the Bundle Management Framework

harmony(鸿蒙)JS API Changes of the Communication Subsystem

harmony(鸿蒙)JS API Changes of the Utils Subsystem

harmony(鸿蒙)JS API Changes of the DFX Subsystem

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/2f9fc1cd99ae4651836368902a396a82