diff options
-rw-r--r-- | src/content/dependencies/generateContentHeading.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/content/dependencies/generateContentHeading.js b/src/content/dependencies/generateContentHeading.js index 469db876..ab883ed8 100644 --- a/src/content/dependencies/generateContentHeading.js +++ b/src/content/dependencies/generateContentHeading.js @@ -17,6 +17,11 @@ export default { mutable: false, }, + attributes: { + type: 'attributes', + mutable: false, + }, + color: {validate: v => v.isColor}, id: {type: 'string'}, @@ -27,6 +32,8 @@ export default { html.tag(slots.tag, {class: 'content-heading'}, {tabindex: '0'}, + slots.attributes, + slots.id && {id: slots.id}, |