in js/src/extractHtmlAttrsFromOptions.js [42:58]
export default function(options) {
const htmlAttrs = {};
for (const k in options) {
let v = options[k];
if (OPTIONS_NOT_ATTRIBUTES[k]) {
continue;
}
if (BOOLEAN_ATTRIBUTES[k]) {
v = v ? k : null;
}
if (v == null) {
continue;
}
htmlAttrs[k] = v;
}
return htmlAttrs;
}