We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1eddd6a commit 9f3a659Copy full SHA for 9f3a659
2 files changed
demo/demo.html
@@ -403,7 +403,7 @@ <h2>Options</h2>
403
<div class="row">
404
<label class="col-5 col-form-label">methods</label>
405
<div class="col-12">
406
- <button class="btn btn-sm btn-danger" type="button" v-on:click="getDateMethod()"> getDate </button>
+ <button class="btn btn-sm btn-danger" type="button" v-on:click="getSelectedDateMethod()"> getSelectedDate </button>
407
</div>
408
409
<hr />
demo/demo.js
@@ -179,8 +179,8 @@ var vueApp = new Vue({
179
}
180
this.dateChange(optionName);
181
},
182
- getDateMethod: function () {
183
- alert(dtp1.getDate());
+ getSelectedDateMethod: function () {
+ alert(dtp1.getSelectedDate());
184
185
186
});
0 commit comments