@financial-times/o-stepped-progress
Version:
Track progress through a multi-step process, such as a form
13 lines (9 loc) • 330 B
JavaScript
import SteppedProgress from './src/js/stepped-progress.js';
const constructAll = function () {
SteppedProgress.init();
document.removeEventListener('o.DOMContentLoaded', constructAll);
};
if (typeof document !== 'undefined') {
document.addEventListener('o.DOMContentLoaded', constructAll);
}
export default SteppedProgress;