Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Motion Bank
MB.js
Quasar Components Shared
Commits
f4588e9f
Commit
f4588e9f
authored
May 23, 2019
by
christianrhansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
created new back button component
parent
59fbfe24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
buttons/BackButtonNew.vue
buttons/BackButtonNew.vue
+14
-0
No files found.
buttons/BackButtonNew.vue
0 → 100644
View file @
f4588e9f
<
template
lang=
"pug"
>
q-btn(@click="goToTarget()", color="lightgrey", icon="keyboard_backspace", round, size="sm")
</
template
>
<
script
>
export
default
{
props
:
[
'
target
'
],
methods
:
{
goToTarget
()
{
return
this
.
$router
.
push
({
name
:
this
.
target
})
}
}
}
</
script
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment