diff --git a/src/app/shared/toolset/toolset.component.html b/src/app/shared/toolset/toolset.component.html index a207d43e..df96f9c9 100644 --- a/src/app/shared/toolset/toolset.component.html +++ b/src/app/shared/toolset/toolset.component.html @@ -1 +1,8 @@ -

toolset works!

+
+
+ +
+
+ it works +
+
diff --git a/src/app/shared/toolset/toolset.component.ts b/src/app/shared/toolset/toolset.component.ts index 352c6094..891d784a 100644 --- a/src/app/shared/toolset/toolset.component.ts +++ b/src/app/shared/toolset/toolset.component.ts @@ -1,4 +1,4 @@ -import { Component, OnInit } from '@angular/core'; +import { Component, Input, OnInit } from '@angular/core'; @Component({ selector: 'app-toolset', @@ -7,6 +7,9 @@ import { Component, OnInit } from '@angular/core'; }) export class ToolsetComponent implements OnInit { + @Input() + option: ToolsetOption; + constructor() { } ngOnInit(): void { diff --git a/src/app/shared/toolset/toolset.model.ts b/src/app/shared/toolset/toolset.model.ts new file mode 100644 index 00000000..e7bc74e5 --- /dev/null +++ b/src/app/shared/toolset/toolset.model.ts @@ -0,0 +1,6 @@ +interface ToolsetOption { + id: string; + type: string; // slider + offsetHeight: string; + height: string; +}