Skip to content

18.1.7-alpha.10

Pre-release
Pre-release
Compare
Choose a tag to compare
@IlyaKhD IlyaKhD released this 24 Oct 16:49
· 255 commits to master since this release
bb15dd0

Requires DevExtreme v18.1.7-pre-18291

Improvements

  • Add TS interfaces for Components Props
<template>
  <dx-button :text='text' icon='plus' ref='button' @click='click'/>
</template>
import { DxButton } from "devextreme-vue/button";
import { Vue, Component, Prop } from "vue-property-decorator";

@Component({
  components: {
    DxButton
  }
})
export default class ButtomExample extends Vue {
  public $refs: Vue["$refs"] & {
    button?: DxButton
  } = {};

  click() {
    const button = this.$refs.button;
    if(button) {
      button.icon = button.height === "plus" ? "box" : "plus";
    }
  };
}

Bug Fixes

  • Fix widget-initialization callbacks

Other Changes

  • Move all components to the root namespace
- import DxButton from "devextreme-vue/ui/button";
+ import DxButton from "devextreme-vue/button";
  • Ignore attributes that do not match widget options