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

options not working in knockout 3.3.0 #76

Open
linuxjcq opened this issue Jun 11, 2015 · 1 comment
Open

options not working in knockout 3.3.0 #76

linuxjcq opened this issue Jun 11, 2015 · 1 comment

Comments

@linuxjcq
Copy link

Hi,
I use knockout 3.3.0 work with knockout-bootstrap newest version, I found options not working, below is my code:

<button class="btn btn-success" 
data-bind="popover: {template: 'addGroup', placement: 'left', title: ''}">
       <i class="ion-plus-round"></i>&nbsp;新建分组
</button>

When I use knockout-bootstrap 0.2.0, it works well

Thanks

@Tantrisse
Copy link

Hi @linuxjcq !
I don't know if you find your answer but yes, knockout-bootstrap works with knockout 3.3.0.

After having explored the sources, I found that you have to declar your options into a object options like this :

<button class="btn btn-success" 
data-bind="popover: {template: 'addGroup', options : { placement: 'left', title: '' } }">
       <i class="ion-plus-round"></i>&nbsp;新建分组
</button>

Best,
Tristan.

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

2 participants