8000 Multiple grids on page with cardTemplateString use the last template available by elado · Pull Request #33 · akoenig/angular-deckgrid · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Multiple grids on page with cardTemplateString use the last template available #33

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

Merged
merged 1 commit into from
Mar 16, 2014

Conversation

elado
Copy link
Contributor
@elado elado commented Mar 1, 2014

http://plnkr.co/edit/SPdgpMOZzwYbDcBqN8pn?p=preview

<div deckgrid source="[1,2,3]" cardTemplateString="aaa" class="deckgrid"></div>
<hr>
<div deckgrid source="[1,2,3,4]" cardTemplateString="bbb" class="deckgrid"></div>
<hr>
<div deckgrid source="[1,2,3,4,5,6,7]" cardTemplateString="ccc" class="deckgrid"></div>
<hr>
<div deckgrid source="[1,2,3,4,5,6,7,8]" cardTemplate="tpl1.html" class="deckgrid"></div>
<hr>
<div deckgrid source="[1,2,3,4,5,6,7,8]" cardTemplate="tpl2.html" class="deckgrid"></div>
<hr>
<div deckgrid source="[1,2,3,4,5,6,7]" cardTemplateString="ddd" class="deckgrid"></div>

Expected: templates aaa, bbb and ccc also displayed.
Actual result: all templates are ddd

akoenig pushed a commit that referenced this pull request Mar 16, 2014
Multiple grids on page with cardTemplateString use the last template available
@akoenig akoenig merged commit 7e97ef1 into akoenig:master Mar 16, 2014
akoenig pushed a commit that referenced this pull request Mar 16, 2014
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

Successfully merging this pull request may close these issues.

2 participants
0