Skip to content

Commit

Permalink
book custom popover component added
Browse files Browse the repository at this point in the history
  • Loading branch information
millisami committed Feb 2, 2014
1 parent 57dd0aa commit 9dc43cf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/templates/components/book-popover-content.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Isn't this one fine day {{content.name}}?
6 changes: 6 additions & 0 deletions app/templates/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,10 @@
class="btn btn-primary" title="Hello"
content="Hello World"}}
Show Popover Button-Left
{{/popover-link-component}}

{{#popover-link-component tagName="button"
class="btn btn-primary" placement="bottom-left"
contentViewClass="App.BookPopoverContentView"}}
Show Popover Button-Left
{{/popover-link-component}}
2 changes: 2 additions & 0 deletions app/views/book_popover_content.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
App.BookPopoverContentView = Ember.View.extend
templateName: 'components/book-popover-content'

0 comments on commit 9dc43cf

Please sign in to comment.