• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# JS API Changes of the ArkUI Development Framework
2
3The table below lists the APIs changes of the ArkUI development framework in OpenHarmony 3.2 Beta1 over OpenHarmony 3.1 Release.
4
5## API Changes
6
7| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
8|---|---|---|---|
9| common |  | function getContext(component?: Object): Object; | Added|
10| sidebar | SideBarContainerAttribute | autoHide(value: boolean): SideBarContainerAttribute; | Added|
11| state_management | LocalStorage | clear(): boolean; | Added|
12| state_management | LocalStorage | delete(propName: string): boolean; | Added|
13| state_management | LocalStorage | setAndProp\<T>(propName: string, defaultValue: T, propUser?: T, subscribersName?: string): T; | Added|
14| state_management | LocalStorage | prop\<T>(propName: string, propUser?: T, subscribersName?: string): T; | Added|
15| state_management | LocalStorage | setAndLink\<T>(propName: string, defaultValue: T, linkUser?: T, subscribersName?: string): T; | Added|
16| state_management | LocalStorage | link\<T>(propName: string, linkUser?: T, subscribersName?: string): T; | Added|
17| state_management | LocalStorage | setOrCreate\<T>(propName: string, newValue?: T): boolean; | Added|
18| state_management | LocalStorage | set\<T>(propName: string, newValue: T): boolean; | Added|
19| state_management | LocalStorage | get\<T>(propName: string): T; | Added|
20| state_management | LocalStorage | size(): number; | Added|
21| state_management | LocalStorage | keys(): IterableIterator\<string>; | Added|
22| state_management | LocalStorage | has(propName: string): boolean; | Added|
23| state_management | LocalStorage | static GetShared(): LocalStorage; | Added|
24| state_management | LocalStorage | constructor(initializingProperties?: Object); | Added|
25