driveway icon indicating copy to clipboard operation
driveway copied to clipboard

Implement chronological ordering

Open jh3y opened this issue 7 years ago • 1 comments

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 avatar Jan 21 '17 02:01 jh3y

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

@jh3y

jh3y avatar Jan 24 '17 14:01 jh3y