Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions projects/demo/src/app/pages/tag/tag-demo.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ <h2>{{ "COMMON.NON-INTERACTIVE" | translate }}</h2>
[size]="_tagDemoService.model.size"
[variant]="_tagDemoService.model.variant"
(click)="
_tagDemoService.onClick(_tagDemoService.model.appearance + '-' + _tagDemoService.model.size + '-' + _tagDemoService.model.variant)
_tagDemoService.onClick(
_tagDemoService.model.appearance + '-' + _tagDemoService.model.size + '-' + _tagDemoService.model.variant
)
"
>
@if (_tagDemoService.helperModel.hasLeadingIcon) {
Expand Down Expand Up @@ -57,7 +59,6 @@ <h2>{{ "COMMON.GROUPED" | translate }}</h2>
</div>
</app-tryout>
</div>

<div controls class="h-full">
<app-tryout-controls>
<app-control-table
Expand Down Expand Up @@ -86,4 +87,4 @@ <h2>{{ "COMMON.GROUPED" | translate }}</h2>
/>
</app-tryout-controls>
</div>
</app-demo-and-code>
</app-demo-and-code>
5 changes: 3 additions & 2 deletions projects/demo/src/app/pages/tag/tag-demo.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ export class TagDemoService {

public readonly groupInputControlConfig: DemoControlConfig<TagGroupInputControls> = {
appearance: {
description: 'Appearance of the tag.',
description: 'Appearance of the tag group.',
type: 'IdsTagAppearanceType',
default: defaultGroupConfig.appearance,
control: DemoControl.SELECT,
list: convertEnumToStringArray(IdsTagAppearance),
},
size: {
description: 'Size of the tag.',
description: 'Size of the tag group.',
type: 'IdsSizeType',
default: defaultGroupConfig.size,
control: DemoControl.SELECT,
Expand Down Expand Up @@ -102,6 +102,7 @@ export class TagDemoService {
public getApiConfig(): DemoControlConfig<unknown>[] {
return [
this.inputControlConfig,
this.helperControlConfig,
this.groupInputControlConfig,
];
}
Expand Down
Loading