Origami Frontend Components & Services

JSDoc: o-typography

It looks like JsDocs for o-typography@5.6.6 are missing or formatted incorrectly.

For component documentation see the readme.

Typography.getOptions(typographyEl)

Static Method

Get the data attributes from the typographyEl. If typography is being set up declaratively, this method is used to extract the data attributes from the DOM.

parameter type default description
typographyEl HTMLElement The typography element in the DOM (Required)

Links

Typography.checkOptions(opts)

Static Method

Check the options passed in are valid, otherwise set defaults

parameter type default description
opts Object An Object with configuration options for typography

Returns

  • Object - opts

Links

Switch component view

GitHub Repository

Install o-typography

If using the Build Service, add o-typography@^5.6.6 to your script and link tags.

If running a Manual Build, run bower install --save "o-typography@^5.6.6".

Help & Support

o-typography is maintained directly by the Origami team. If you have any questions about o-typography or Origami in general, we are happy to help. 😊

Slack: #ft-origami
Email: origami.support@ft.com

Feedback / Issues

To report a bug or request features please create an issue on Github. For support or general feedback please get in touch 😊

Slack: #ft-origami
Email: origami.support@ft.com