Skip to content

Commit

Permalink
Updated example
Browse files Browse the repository at this point in the history
Included de unmasked data attribute on `money` to make it clearer
  • Loading branch information
jmo-jr authored and titou10titou10 committed Dec 7, 2019
1 parent e699be8 commit 5f566f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,14 @@ Vue.use(money, { precision: 4 });
data() {
return {
price: 123.45,
rawPrice: null,
money: {
decimal: ",",
thousands: ".",
prefix: "R$ ",
suffix: " #",
precision: 2,
unmaskedVar: null
unmaskedVar: "rawPrice"
}
};
}
Expand Down

0 comments on commit 5f566f1

Please sign in to comment.