This addon is meant to be a simple Ember wrapper of the great vertical timeline initially created by the people over at CodyHouse!
Like most ember addons, simply run ember install ember-vertical-timeline
and you should be all set!
If you want to include the basic styles for the components in your application; just add @import "ember-vertical-timeline";
to your application's Sass stylesheet. Try out ember-cli-sass if you are not already using Sass in your application.
Here's how you would go about creating a simple timeline:
{{#vertical-timeline as |timeline|}}
{{#timeline.block as |block|}}
{{block.image}}
{{#block.content as |content|}}
{{!Whatever you want to display inside of the timeline block.}}
{{#content.date}}Jun 28{{/content.date}}
{{/block.content}}
{{/timeline.block}}
{{!More blocks would go here}}
{{/vertical-timeline}}
Any contribution is more than welcomed. If you plan on introducing a new feature, please open an issue and share your idea prior to implementing it, it could save you precious time!
If something is not working as expected, simply open an issue and we'll discuss how we'll go about fixing it!
Once again, the initial timeline was created by the people over at CodyHouse!
Version | Tag | Published |
---|---|---|
1.0.1 | latest | 4yrs ago |