Releases: Tencent/omi
Releases · Tencent/omi
Support ignore attrs by props
<o-line ignoreAttrs={true} data={this.chartData} options={this.chartOptions}></o-line>
Fix function declaration in omi.d.ts
v6.19.25 chore(omi): build and publish dist files
Fix vdom diff error in h.f
v6.19.24 Merge pull request #625 from yuqing521/rate
Fix type declaration of rpx method
v6.19.23 chore(admin): using omi latest version
Fix transition error in safari, don't handle styles when using h.f
v6.19.22 chore(admin): using omi latest version & rebuild
Private event
import { define, render, WeElement } from 'omi'
define('o-button', class extends WeElement {
render() {
return (
<button {...this.props}><slot></slot></button>
)
}
})
define('my-app', class extends WeElement {
render() {
return (
<o-button _onclick={evt => {
//onclick trigger twice, _onclick trigger once
console.log(1)
}}>button</o-button>
)
}
})
render(<my-app />, 'body')
Check if the element has been defined
v6.19.19 feat(omi): check if the element has been defined
Fix props missing when using jsx props and lazy load the element
v6.19.18 fix(omi): fix lazy load props missing
Support Injection ignoreAttrs through render function
render(<my-app></my-app>, '#root', {
ignoreAttrs: true
})
Using construct-style-sheets-polyfill
v6.19.7 publish(omi): v6.19.7