Origami Frontend Components & Services

JSDoc: o-comment-count

o-comment-count has a support status of "dead". This means that there are no plans to fix any issues with this component, and it may stop working at any point. More information on the status of this component is available in the README. If you still rely on this component or have concerns, please contact the Origami team.

setConfig(keyOrObject, value)

Global Function

Adds or overrides configuration options.

parameter type default description
keyOrObject string | object Key or actually an object with key-value pairs.
value anything Optional. Should be specified only if keyOrObject is actually a key (string).

Returns

  • undefined

Links

enableLogging

Global Function

Enables logging.

Returns

  • undefined

Links

disableLogging

Global Function

Disables logging.

Returns

  • undefined

Links

setLoggingLevel

Global Function

Sets logging level.

Returns

  • undefined

Links

module.exports

Static Property

Type

  • object

Widget.js exposed as main constructor

Links

Status
dead Origami v1 (Bower)
Switch component view

GitHub: o-comment-count

Install o-comment-count

If using the Build Service, add o-comment-count@^0.5.1 to your script tag.

If using the npm package manager for a Manual Build, run npm install --save-peer "@financial-times/o-comment-count@^0.5.1".

Help & Support

o-comment-count is maintained directly by the Origami team. If you have any questions about o-comment-count 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