Skip to content
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.

v1.0.0-aplha.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@posva posva released this 07 Nov 13:17

Vue 1 is unsupported for this alpha release, it'll be supported in …
…the future, though

This release and all future v1 alpha releases will be available through the next npm tag:

npm install vue-mdl@next

Breaking changes:

Introducing support to Vue 2 (with a lot of help from @petejohanson) introduce some necessary breaking changes to migrate to Vue 2:

  • All input components now use the v-model directive instead of a two way binding custom prop. Now it's always named value. Therefore all toggles (checkboxes, radios, etc) must be updated accordingly. The previous value prop that was used to set a checkbox value is now named val
  • MdlBadge is now a component instead of a directive that encapsulates the element you want to add the badge on:
    • The value of the directive is now replaced with a badge prop
    • overlap and no-background modifiers are now props
    • The badge doesn't hide automatically but you can use the hide prop that accept a boolean. eg: <MdlBadge :badge="messages.length" :hide="messages.length">...</MdlBadge>
  • The directive v-mdl-ripple-effect isn't supported anymore and will be removed in the near future. Use the class mdl-js-ripple-effect instead