Skip to content

Releases: Tencent/omi

Support ignore attrs by props

01 Aug 04:30
Compare
Choose a tag to compare
 <o-line ignoreAttrs={true} data={this.chartData} options={this.chartOptions}></o-line>

Fix function declaration in omi.d.ts

28 Jul 03:58
Compare
Choose a tag to compare
v6.19.25

chore(omi): build and publish dist files

Fix vdom diff error in h.f

27 Jul 06:21
ff56d73
Compare
Choose a tag to compare
v6.19.24

Merge pull request #625 from yuqing521/rate

Fix type declaration of rpx method

11 Jul 07:44
Compare
Choose a tag to compare
v6.19.23

chore(admin): using omi latest version

Fix transition error in safari, don't handle styles when using h.f

10 Jul 12:50
Compare
Choose a tag to compare
v6.19.22

chore(admin): using omi latest version & rebuild

Private event

04 Jul 16:15
Compare
Choose a tag to compare
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

02 Jul 15:42
Compare
Choose a tag to compare
v6.19.19

feat(omi): check if the element has been defined

Fix props missing when using jsx props and lazy load the element

29 Jun 08:48
Compare
Choose a tag to compare
v6.19.18

fix(omi): fix lazy load props missing

Support Injection ignoreAttrs through render function

27 Jun 02:08
Compare
Choose a tag to compare
render(<my-app></my-app>, '#root', {
  ignoreAttrs: true
})

Using construct-style-sheets-polyfill

23 Jun 08:00
Compare
Choose a tag to compare
v6.19.7

publish(omi): v6.19.7