projects/i-components/src/lib/directives/generateradiogroup.directive.ts
Directive to provide RadioNameService on containers with radio buttons.
Providers |
RadioNameService
|
Selector | [wmGenerateRadioGroups] |
import { Directive } from '@angular/core';
import { RadioNameService } from '../services/radiobuttonsnames.service';
/**
* Directive to provide RadioNameService on containers with radio buttons.
*
* @export
* @class GenerateRadioGroupDirective
*/
@Directive({
selector: '[wmGenerateRadioGroups]',
providers: [RadioNameService],
})
export class GenerateRadioGroupDirective {}