HTML markup
A responsive timeline backed by a X list can be added to a webpage through a common HTML template. A template example:JavaScript factory function
The X for Websites JavaScript library supports dynamic insertion of an embedded list timeline using thetwttr.widgets.createTimeline function. Pass a data source definition, target container element, and optional options object to insert an embedded timeline into your page.
HTML data-* parameters are camelCased when passed as an options object property.