Text Align

The textAlign property provides support for traditional text alignment.

The text may be aligned left, right, center or justified within a paragraph. The change may be scripted, as this demonstration shows, but the value cannot be animated over time. It changes instantly.

Alternatively, the anchor property may be used for smoothly animated alignment if items.

story = {
  item: {
    text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
    init: {
      {delay:1, align:"c"},
      {delay:1, align:"r"},
      {delay:1, align:"j"},
      {delay:1, align:"l"},