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

Implement chronological ordering #10

Open
jh3y opened this issue Jan 21, 2017 · 1 comment
Open

Implement chronological ordering #10

jh3y opened this issue Jan 21, 2017 · 1 comment
Assignees

Comments

@jh3y
Copy link
Owner

jh3y commented Jan 21, 2017

The common issue that arises or that I'm asked about is chronological ordering(left to right by order in DOM, usually date). This has been brought up in #1, #7 and #9. It has also been brought to my attention again when I saw a discussion about masonry pop up on Twitter.

This feature does require some JavaScript intervention and can not be implemented via pure CSS alone.

My aim is to implement this as an optional feature that will require some JavaScript to also be included. Think something like;

  <div class='dw dw--chronological'></div>

with;

const el = document.querySelector('#chronological')
const myDriveway = new Driveway(el)

@jh3y

@jh3y jh3y self-assigned this Jan 21, 2017
@jh3y
Copy link
Owner Author

jh3y commented Jan 24, 2017

I've put together an initial implementation for chronological ordering here.

@jh3y

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