ng-implementation/my-workspace/projects/sae-lib/inputs/multi-selector/multi-selector.ts

16 lines
383 B
TypeScript
Raw Normal View History

2025-08-22 12:52:30 +02:00
import {Component, Input} from '@angular/core';
2025-08-22 11:57:56 +02:00
@Component({
selector: 'sae-multi-selector',
imports: [],
templateUrl: './multi-selector.html',
styleUrl: './multi-selector.scss'
})
export class MultiSelector {
2025-08-22 12:52:30 +02:00
@Input() label!: string;
2025-09-02 14:40:47 +02:00
@Input() choices: any = ['choix 1', 'choix 2', 'choix 3'];
@Input() selectedChoices: any = ['choix 4'];
displayDropdown = true;
2025-08-22 11:57:56 +02:00
}