Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var app = new Vue({
- el: '#myapp',
- data: {
- name: dataDisplay
- },
- // define methods under the `methods` object
- methods: {
- greet: function (event) {
- // `this` inside methods points to the Vue instance
- console.log(event);
- // `event` is the native DOM event
- }
- }
- });
- ---modal ---
- <div id="addModal2" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true" align="left">
- <div class="modal-dialog">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
- <h4 class="modal-title" id="addModal_title2"></h4>
- </div>
- <div class="modal-body" id=myapp>
- <table class="table">
- <p id="totalColRows" class="text-center"></p>
- <thead id="addModal_content2" align="center">
- {{name['sub_column']}}
- {{name['sub_row']}}
- <tbody id="addModal_content3" align="center">
- </tbody>
- </table>
- </div>
- <div class="modal-footer">
- </div>
- </div>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement