Origami Frontend Components & Services

Readme: o-utils

Origami JS helpers.

Usage

JavaScript

    import * as Utils from 'o-utils';
    const myFunction = () => {};
    Utils.throttle(myFunction, 100);
    Utils.debounce(myFunction, 100)

For more detailed explanation, refer to our JSDoc

Contributing

This module is suitable for helper functions that need to be used commonly in other modules like throttle and debounce. These must be kept to a minimum.


Contact

If you have any questions or comments about this component, or need help using it, please either raise an issue, visit #origami-support or email Origami Support.


Licence

This software is published by the Financial Times under the MIT licence.

Support Status
active
Switch component view

GitHub Repository

Install o-utils

If using the Build Service, add o-utils@^1.1.4 to your script tag.

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

Help & Support

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

Slack: #origami-support
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: #origami-support
Email: origami.support@ft.com