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
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 namedvalue
. Therefore all toggles (checkboxes, radios, etc) must be updated accordingly. The previousvalue
prop that was used to set a checkbox value is now namedval
- 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
andno-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 value of the directive is now replaced with a
- The directive
v-mdl-ripple-effect
isn't supported anymore and will be removed in the near future. Use the classmdl-js-ripple-effect
instead