Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
66ea5291
Commit
66ea5291
authored
Jul 04, 2018
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add custom cssClasses support
parent
18c9cad0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
app/assets/javascripts/vue_shared/components/sidebar/toggle_sidebar.vue
...ascripts/vue_shared/components/sidebar/toggle_sidebar.vue
+7
-0
No files found.
app/assets/javascripts/vue_shared/components/sidebar/toggle_sidebar.vue
View file @
66ea5291
...
@@ -12,6 +12,11 @@ export default {
...
@@ -12,6 +12,11 @@ export default {
type
:
Boolean
,
type
:
Boolean
,
required
:
true
,
required
:
true
,
},
},
cssClasses
:
{
type
:
String
,
required
:
false
,
default
:
''
,
},
},
},
computed
:
{
computed
:
{
tooltipLabel
()
{
tooltipLabel
()
{
...
@@ -30,10 +35,12 @@ export default {
...
@@ -30,10 +35,12 @@ export default {
<button
<button
v-tooltip
v-tooltip
:title=
"tooltipLabel"
:title=
"tooltipLabel"
:class=
"cssClasses"
type=
"button"
type=
"button"
class=
"btn btn-blank gutter-toggle btn-sidebar-action"
class=
"btn btn-blank gutter-toggle btn-sidebar-action"
data-container=
"body"
data-container=
"body"
data-placement=
"left"
data-placement=
"left"
data-boundary=
"viewport"
@
click=
"toggle"
@
click=
"toggle"
>
>
<i
<i
...
...
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