Structural refactoring (#68)
* Moved html in scss to separate files * Moved components to designated folders * Moved logic from html to ts
This commit is contained in:
committed by
József Farkas
parent
036c2d0a70
commit
baaec669e0
10
src/components/svg/module/svg-module.component.html
Normal file
10
src/components/svg/module/svg-module.component.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<svg:path *ngFor="let path of coverages" [attr.d]="path.$.d"/>
|
||||
<svg:g svg-keyboard-key *ngFor="let key of keyboardKeys; let i = index"
|
||||
[id]="key.id"
|
||||
[rx]="key.rx" [ry]="key.ry"
|
||||
[width]="key.width" [height]="key.height"
|
||||
[attr.transform]="'translate(' + key.x + ' ' + key.y + ')'"
|
||||
[keyAction]="keyActions[i]"
|
||||
(click)="onKeyClick(i)"
|
||||
/>
|
||||
<popover *ngIf="popOverEnabled"></popover>
|
||||
|
After Width: | Height: | Size: 424 B |
Reference in New Issue
Block a user