Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <template>
- <div class="container-fluid">
- <h1 class="font-weight-light text-primary">Edit Airline</h1><hr>
- <div class="row mb-1">
- <div class="col-md-12">
- <button type="button" class="btn btn-primary float-right" @click.prevent="cancelEditing">
- <span class="fas fa-chevron-left mr-1"></span>
- Back
- </button>
- </div>
- </div>
- </div>
- </template>
- <script>
- export default {
- props: {
- edit: {}
- },
- methods: {
- cancelEditing() {
- console.log('disabling edit mode')
- this.$emit('cancelEditing')
- }
- }
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement