import { Component , OnInit } from '@angular/core' ; import { BehaviorSubject } from 'rxjs' ; import { OnboardingV3TagsService , Tag } from './tags.service' ; /**
 * Onboarding tags selection component
 */ @ Component ( { selector : 'm-onboardingV3__tags' , templateUrl : './tags.component.html' , styleUrls : [ './tags.component.ng.scss' ] , } ) export class OnboardingV3TagsComponent implements OnInit { constructor ( private service ) { } ngOnInit ( ) { this . service . loadTags ( ) ; } returns { BehaviorSubject < Tag [ ] > } get tags$ ( ) : BehaviorSubject < Tag [ ] > { return this . service . tags$ ; } param { string } tagValue returns { void } public toggleTag ( tagValue ) { this . service . toggleTag ( tagValue ) ; } }