Origami JS helpers.
Check out how to include Origami components in your project to get started with o-utils
.
import * as Utils from 'o-utils';
const myFunction = () => {};
Utils.throttle(myFunction, 100);
Utils.debounce(myFunction, 100)
For more detailed explanation, refer to our JSDoc
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.
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.
This software is published by the Financial Times under the MIT licence.