Skip to content

Instantly share code, notes, and snippets.

@krainboltgreene
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krainboltgreene/c8d77fda57b3af31a2db to your computer and use it in GitHub Desktop.
Save krainboltgreene/c8d77fda57b3af31a2db to your computer and use it in GitHub Desktop.
import Ember from 'ember';
export default Ember.Component.extend({
_initializePopover: function() {
this.$().popover({
container: this.get("container"),
trigger: this.get("action"),
placement: this.get("placement"),
content: this.get("content")
});
}.on("didInsertElement")
});
{{#bootstrap-popover container="body" action="focus" placement="left" content="We'll use this signature for informal communication. You can use any characters you can imagine."}}
{{input value=signature id="account_signature" class="form-control form-control-minimal" type="text" required="required" placeholder="What do we call you?" autofocus="autofocus"}}
{{/bootstrap-popover}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment