Version: v1.0 On this page
January 29, 2023
Fix hmUI.createDialog
parameter error
January 5, 2023
November 03, 2022
October 28, 2022
October 21, 2022
September 15, 2022
deleteWidget
CYCLE_IMAGE_TEXT_LIST
Add image examples
Add code examples
August 22, 2022
Fix Multilingual Mapping Language code abbreviation error
Added QRCODE
widget, support QR code display
IMG
widget
Optimize field descriptions
Optimized image example
August 19, 2022
`Fetch API
Fix documentation errors and add basic usage examples
August 12, 2022
alarmNew
Supplementary param
parameters
RADIO_GROUP
widget
Refine the prop
property description
TEXT
widget
Remove the useless TEXT_STYLE
property
July 27, 2022
VIBRATE
sensor
Reorganize scene
parameters
Remove useless attributes
July 21, 2022
July 15, 2022
Settings Storage API
Optimize API descriptions
Add length
property
Add toObject
method
Fetch API
Optimize API descriptions
July 12, 2022
widget.addEventListener
Optimize API descriptions
hmUI.createDialog
Add picture display
Add auto_hide
field
Rewrite code example
hmUI.createWidget
Optimize API descriptions
hmUI.deleteWidget
Optimize API descriptions
widget.getProperty
Optimize API descriptions
hmUI.getScrollCurrentPage
Optimize API descriptions
widget.getType
Optimize API descriptions
widget.removeEventListener
Optimize API descriptions
hmUI.scrollToPage
Optimize API descriptions
widget.setProperty
Optimize API descriptions
hmUI.setScrollView
Add picture display
Add isVertical
property
Rewrite code example
hmUI.showToast
Add picture display
Optimize API descriptions
Mini Program Configuration
Add targets Object description
Folder Structure
Add assets directory description
July 6, 2022
SCROLL_LIST
widget
Add widget picture display
Rewrite code example
CYCLE_LIST
widget
Add widget picture display
Rewrite code example
PICK_DATE
widget
Add widget picture display
Rewrite code example
HISTOGRAM
widget
Add widget picture display
Rewrite code example
FILL_RECT
widget
July 1, 2022
IMG
widget
Add widget picture display
Add src
field description
Rewrite code example
TEXT
widget
Add widget picture display
Rewrite code example
ARC
widget
Add widget picture display
Optimize field descriptions
Rewrite code example
FILL_RECT
widget
Add widget picture display
Delete the useless field line_width
Rewrite code example
STROKE_RECT
widget
Add widget picture display
Rewrite code example
Fix the field line_width
mandatory error
TEXT_IMG
ARC_PROGRESS
BUTTON
Add widget picture display
Optimize field descriptions
Add Notes for Use
Rewrite code example
IMG_LEVEL
IMG_AMIN
Add widget picture display
Delete the useless field anim_repeat
Optimization field anim_status
description
Rewrite code example
CIRCLE
Add widget picture display
Rewrite code example
RADIO_GROUP
Add widget picture display
Optimize field descriptions
Add Notes for Use
Rewrite code example
CHECKBOX_GROUP
Add widget picture display
Optimize field descriptions
Add Notes for Use
Rewrite code example
SLIDE_SWITCH
Add widget picture display
Optimize field descriptions
Rewrite code example
DIALOG
Add widget picture display
Add Notes for Use
Rewrite code example
hmFS.stat_asset
Fix field description error
hmFS.open_asset
Fix field description error
June 23, 2022
CYCLE_IMAGE_TEXT_LIST
widget
June 21, 2022
RADIO_GROUP
widget
CHECKBOX_GROUP
widget
June 17, 2022
IMG
widget
Add a note that the IMG
widget does not support scaling
June 14, 2022
June 9, 2022
widget.getProperty
Add property get description
hmApp.registerGestureEvent(callback)
Add description of the default behavior
hmApp.goBack()
June 1, 2022
hm.stat
Fix stat
parameter type error
hm.stat_asset
Fix stat
parameter type error
May 31, 2022
hmSetting.setBrightScreen
Add a description of the screen being always lit
hmApp.setScreenKeep
CALORIE
Add property descriptions
FAT_BURRING
Add property descriptions
VIBRATE
Add sensor start
, stop
method descriptions and code examples
HEART
May 27, 2022
May 24, 2022
May 17, 2022
April 28, 2022
hmApp.setLayerY
hmApp.getLayerY
April 12, 2022
hmApp.startApp
Fix param
parameter type, add field description
hmApp.gotoPage
Fix param
parameter type, add field description
hmApp.reloadPage
Fix param
parameter type, add field description
Add life cycle function signatures
April 11, 2022
Fix permissions
, cover
, platforms
field types in Mini Program Configuration
March 31, 2022
hmSetting.getDeviceInfo
Fix the type of the return value keyNumber
Add screenShape
field description
March 29, 2022
hmApp.packageInfo
Add the return value information
hmApp.registSpinEvent
The method name is changed to hmApp.registerSpinEvent
, the original method name can still be used
hmApp.registGestureEvent
The method name is changed to hmApp.registerGestureEvent
, the original method name can still be used
hmApp.registKeyEvent
The method name is changed to hmApp.registerKeyEvent
, the original method name can still be used
March 22, 2022
IMG_ANIM
widget
Fix anim_prefix
, anim_ext
property types
Improve the file system storage path for code example
hmUI.getProperty
Remove error code example
March 18,2022
Add hmUI.getTextLayout()
to calculate the height and width of the target text after the layout is completed, and does not actually render it, only performs the layout calculation.
hmSetting.getUserData
TEXT
widget
Modify the text_size
property description
Remove font
property, font setting is not supported at this time
February 24, 2022
Add PICK_DATE
widget
TIME
widget
add traditional Chinese festival and Solar Terms
FILL_RECT
widget
IMG
widget
Example of additional image rotation and position-related images
stopTimer
Fixing bugs in code examples
WEATHER
sensor
Rewrite this module documentation
Add sunrise and sunset data
hmFS.readdir
Fix the type of return value
Add code example
hmFS.stat
Refine the description of the mtime
property
hmFS.stat_asset
Refine the description of the mtime
property
hmApp.exit
hmApp.gotoHome
January 17, 2022
hmUI.createDialog
Fix the show
parameter type to boolean
widget.setProperty
Add code example for setting multiple properties at the same time
widget.getProperty
Add code example for getting multiple properties at the same time
December 28, 2021
hmSetting.getDeviceInfo
Return value added deviceSource
field
hmFS.write
Fix the wrong order of document parameter passing
hmFS.read
Fix the wrong order of document parameter passing
hmSetting.getMileageUnit
Fix document method name labeling error
FAT_BURRING
sensor
Fix error in code example
BATTERY
sensor
Fix error in code example
PAI
sensor
Fix document property description error
hmSetting.getUserData()
Fix the age
property type to number
hmSetting.getWeightTarget()
Select
Supplementary options
type
January 29, 2023 January 5, 2023 November 03, 2022 October 28, 2022 October 21, 2022 September 15, 2022 August 22, 2022 August 19, 2022 August 12, 2022 July 27, 2022 July 21, 2022 July 15, 2022 July 12, 2022 July 6, 2022 July 1, 2022 June 23, 2022 June 21, 2022 June 17, 2022 June 14, 2022 June 9, 2022 June 1, 2022 May 31, 2022 May 27, 2022 May 24, 2022 May 17, 2022 April 28, 2022 April 12, 2022 April 11, 2022 March 31, 2022 March 29, 2022 March 22, 2022 March 18,2022 February 24, 2022 January 17, 2022 December 28, 2021