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

Expose alignments to the consumer #6

Open
rylnd opened this issue Dec 16, 2018 · 0 comments
Open

Expose alignments to the consumer #6

rylnd opened this issue Dec 16, 2018 · 0 comments

Comments

@rylnd
Copy link
Owner

rylnd commented Dec 16, 2018

In order for #5 to be meaningful, we have to expose our alignment constants to the consumer so they can do e.g.:

import Ringside, { xAlign } from 'ringside';
// ...

const position = ringside
  .positions()
  .filter(p => p.xAlign === xAlign.INNER_LEFT);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant