Skip to content

Draft: Parse data attributes with types and enforce requirements and default values

Resolves #310

Adds type conversion for data-attributes and enforces required data-attributes based on a schema and default vals.

Also renames utils/utils.js to utils/index.js so the imports would just look like import {} from '../utils'

Edited by Olivier Goulet

Merge request reports

Loading