- The ESM build is now the default when vue-onsenui is used with a bundler. When using the ESM build, components must be registered using
app.componentbefore they can be used. - For v-model,
modelValueprop andupdate:modelValueevent are now used instead ofmodelPropprop andmodelEventevent. However, themodelEventprop is unchanged. - The
options.animationandoptions.animationOptionsprops have been renamed toanimationandanimationOptionsfor all components. - VOnsCarousel, VOnsTabbar, VOnsSegment: The
indexprop andupdate:indexevent have been renamed toactiveIndexandupdate:activeIndex. - VOnsLazyRepeat: The
renderItemprop should be a function that returns an object describing a Vue component. - VOnsNavigator: The
pageStackprop is no longer mutated directly. Instead usev-model:pageStackto keep thepageStackprop in sync. - VOnsNavigator: The
pageStackprop no longer responds to array mutatation methods (e.g. Array.prototype.pop). The wholepageStackvalue must be replaced (e.g. by using Array.prototype.slice) to trigger a visual change. - VOnsNavigator: The
popPageprop has been removed. Use@deviceBackButton.preventand VOnsBackButton's@click.preventto override default pop behaviour. - VOnsPopover: The
targetprop must be a Vue ref.
- VOnsSplitterSide: animation option is respected when swiping splitter at startup.
- VOnsPage: Page content is updated when adding content dynamically with
v-for. #2512). - VOnsRange: Model value as a number instead of a string. #2771.
For older changes, see the vue-onsenui v2 CHANGELOG.