瀏覽代碼

Tidying up code a little

Richard Knight 6 年之前
父節點
當前提交
78cc710c67

+ 2 - 2
src/app/dynaform/components/native/password/password.component.ts

@@ -8,8 +8,8 @@ import { NativeInputComponent } from '../../_abstract/native-input.component';
 })
 export class PasswordComponent extends NativeInputComponent {
 
-	placeholder;
-	
 	exposeMetaInTemplate: string[] = ['placeholder'];
 
+	placeholder;
+
 }

+ 2 - 1
src/app/dynaform/components/native/radio/radio.component.ts

@@ -8,11 +8,12 @@ import { NativeInputComponent } from '../../_abstract/native-input.component';
 })
 export class RadioComponent extends NativeInputComponent {
 
+	exposeMetaInTemplate: string[] = ['name', 'options', 'horizontal'];
+
 	name;
 	options;
 	horizontal;
 	
-	exposeMetaInTemplate: string[] = ['name', 'options', 'horizontal'];
 	prefix: string;
 
 	constructor() {

+ 2 - 2
src/app/dynaform/components/native/select/select.component.ts

@@ -9,11 +9,11 @@ import { Router, ActivatedRoute } from '@angular/router';
 })
 export class SelectComponent extends NativeInputComponent {
 
+	exposeMetaInTemplate: string[] = ['options', 'link'];
+
 	options;
 	link;
 	
-	exposeMetaInTemplate: string[] = ['options', 'link'];
-
 	constructor(private router: Router, private route: ActivatedRoute) {
 		super();
 	}

+ 3 - 3
src/app/dynaform/components/native/text/text.component.ts

@@ -8,9 +8,9 @@ import { NativeInputComponent } from '../../_abstract/native-input.component';
 })
 export class TextComponent extends NativeInputComponent {
 
-	link;
-	placeholder;
-	
 	exposeMetaInTemplate: string[] = ['placeholder', 'link'];
 
+	placeholder;
+	link;
+	
 }

+ 2 - 2
src/app/dynaform/components/native/textarea/textarea.component.ts

@@ -8,8 +8,8 @@ import { NativeInputComponent } from '../../_abstract/native-input.component';
 })
 export class TextareaComponent extends NativeInputComponent {
 
-	placeholder;
-	
 	exposeMetaInTemplate: string[] = ['placeholder'];
 
+	placeholder;
+
 }