-
Notifications
You must be signed in to change notification settings - Fork 36
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
No documentation for Constraints. #40
Comments
Yeah, would love to understand how this works... this plugin has zero documentation. |
Turns out, it's the same as https://tether.io |
Right, so I'm guessing we have to make a component and extend the ember-tether component to add the constraints property? or do we just plug json directly into the helper? |
Constraints can be used like this: template.hbs{{#ember-tether
target=targetElement
targetAttachment="top right"
attachment="top left"
constraints=constraints
}}
Tether content
{{/ember-tether}} component.jsconstraints: Ember.computed(function() {
return [{
to: 'scrollParent',
attachment: 'together',
pin: true,
}];
}), More examples: http://tether.io/ or live demo: http://yapplabs.github.io/ember-tether/ |
No description provided.
The text was updated successfully, but these errors were encountered: