o-typography JsDocs

It looks like JsDocs for o-typography@5.7.8 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