@lynx-js/types
Version:
@lynx-js/types is a type package of all public APIs officially provided by the Lynx team. Using this package can help you better use Lynx APIs to develop your applications.
94 lines (57 loc) • 1.9 kB
Markdown
# CHANGELOG
## 3.3.0
### Major Changes
- Update Types Version to 3.3.*
- Add default properties for PipelineEntry.frameworkRenderingTiming
- Add some missing typing of event props
- Add type testing for objects & methods mounted in global
- Add type testing to lynx react.JSX.IntrinsicElements
- Add some missing types of built-in element `list`
- Add some missing types of built-in element `image`
- Add more events like `LayoutChangeEvent` into `MainThread` namespace
In this commit, we add `AnimationEvent`, `TransitionEvent`, `LayoutChangeEvent`, `UIAppearanceEvent` into `MainThread` namespace.
Now you can use like this:
```
function handleLayoutChange(e: MainThread.LayoutChangeEvent) {
// ...
}
<view
main-thread:bindlayoutchange={handleLayoutChange}
/>
```
## 3.2.1
### Patch Changes
- Add some missing types of built-in element `list-item`
- Rename PipelineEntry.FrameworkPipelineTiming to PipelineEntry.FrameworkRenderingTiming
- Supplement the missing `lynx.onError` definition
- partially support TextEncoder/TextDecoder
- Support needVisibleItemInfo for native List
- Add prop 'ios-background-shape-layer' for iOS
- lynx.requireModule support setting timeout time
## 3.2.0
### Major Changes
- Rename @lynx-dev/types to @lynx-js/types
## 1.0.15
### Patch Changes
- Refine the related type of event
## 1.0.14
### Patch Changes
- Support nestedScrollOptions for hm
## 1.0.10
### Patch Changes
- Support lynx.queueMicrotask
## 1.0.5
### Patch Changes
- Format the error code of dynamic component with new ErrorCodeFormat
## 1.0.4
### Patch Changes
- Export common scrollEvent in type-lynx.
## 1.0.3
### Patch Changes
- Add new Trace API `lynx.performance.isProfileRecording` to minimizes the performance overhead.
## 1.0.2
### Patch Changes
- Support `inline-truncation` element.
## 1.0.1
### Major Changes
- Add all lynx public api on this packages.