Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to integrate context-menu with bootstrap? #12

Open
t0n1zz opened this issue Feb 22, 2018 · 0 comments
Open

how to integrate context-menu with bootstrap? #12

t0n1zz opened this issue Feb 22, 2018 · 0 comments

Comments

@t0n1zz
Copy link

t0n1zz commented Feb 22, 2018

hi, i am using bootstrap and looking for a way to add the same bootstrap class into context menu... i tried to add

<ul class="list-group">
  <li class="list-group-item">Cras justo odio</li>
  <li class="list-group-item">Dapibus ac facilisis in</li>
  <li class="list-group-item">Morbi leo risus</li>
  <li class="list-group-item">Porta ac consectetur ac</li>
  <li class="list-group-item">Vestibulum at eros</li>
</ul>

so i change the code to be like this

<context-menu id="context-menu" ref="ctxMenu" class="list-group">
  <li class="list-group-item">Cras justo odio</li>
  <li class="list-group-item">Dapibus ac facilisis in</li>
  <li class="list-group-item">Morbi leo risus</li>
  <li class="list-group-item">Porta ac consectetur ac</li>
  <li class="list-group-item">Vestibulum at eros</li>
</context-menu>

but it is not working...

update:

i find that when we render it, it will automatically add class "ctx-menu" and "ctx-menu-left" how do i costumize that in the vue way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant