UNPKG

@financial-times/o-forms

Version:

This component provides responsive styling for form fields and inputs. It provides validation and error handling for forms, as well.

13 lines (9 loc) 291 B
import oForms from './src/js/forms.js'; const constructAll = function() { oForms.init(); document.removeEventListener('o.DOMContentLoaded', constructAll); }; if (typeof document !== 'undefined') { document.addEventListener('o.DOMContentLoaded', constructAll); } export default oForms;