|
@@ -1,15 +1,13 @@
|
|
-import { Component, OnInit } from '@angular/core';
|
|
|
|
|
|
+import { Component } from '@angular/core';
|
|
|
|
+import { NativeInputComponent } from '../../_abstract/native-input/native-input.component';
|
|
|
|
|
|
@Component({
|
|
@Component({
|
|
- selector: 'app-radio',
|
|
|
|
- templateUrl: './radio.component.html',
|
|
|
|
- styleUrls: ['./radio.component.scss']
|
|
|
|
|
|
+ selector: 'app-radio',
|
|
|
|
+ templateUrl: './radio.component.html',
|
|
|
|
+ styleUrls: ['./radio.component.scss']
|
|
})
|
|
})
|
|
-export class RadioComponent implements OnInit {
|
|
|
|
|
|
+export class RadioComponent extends NativeInputComponent {
|
|
|
|
|
|
- constructor() { }
|
|
|
|
-
|
|
|
|
- ngOnInit() {
|
|
|
|
- }
|
|
|
|
|
|
+ exposeMetaInTemplate: string[] = ['options'];
|
|
|
|
|
|
}
|
|
}
|