github graphieros/vue-data-ui v3.2.3

5 hours ago

VueUiAnnotator

Layout improvements (new icons)

image

New features:

  • keyboard shortcuts
  • undo + redo
  • download PNG

New config attributes:

const config = ref({
  alwaysVisible: false, // New: when set to false, annotations are only visible when the annotations menu is open
  style: {
    showImage: true, // New: show download to PNG button
  },
  translations: {
    tooltipRedo: 'Redo last shape', // New
    tooltipImage: 'Download PNG', // New
  }
})

VueUiAccordion

  • Add @toggle event
<VueUiAccordion
  :config="config"
  @toggle="onToggle"
>
...
</VueUiAccordion>
  • New config attributes to customize the header icon:
const config = ref({
  head: {
    icon: 'arrowRight', // New: available built-in icons (see VueUiIcon)
    iconSize: 20, // New
  }
})

Docs are up to date

Don't miss a new vue-data-ui release

NewReleases is sending notifications on new releases.