Skip to content

Commit ade34a2

Browse files
committed
fix: configure the Logo's altText config option when used as an HTML attribute
1 parent dab9b8c commit ade34a2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/uikit-workshop/src/scripts/lit-components/pl-logo/pl-logo.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ class Logo extends BaseLitComponent {
2424
theme: String,
2525
url: String,
2626
text: String,
27-
altText: String,
27+
altText: {
28+
type: String,
29+
attribute: 'alt-text',
30+
},
2831
srcLight: {
2932
type: String,
3033
attribute: 'src-light',

0 commit comments

Comments
 (0)