button
parent
9c914e1d8b
commit
d67cc60788
|
|
@ -1 +1 @@
|
|||
<a class="btn" [href]="url" [target]="targetBlank ? '_blank' : '_self'" [innerText]="title"></a>
|
||||
<a class="btn" [href]="url" [target]="targetSelf ? '_self' : '_blank'" [innerText]="title"></a>
|
||||
|
|
|
|||
|
|
@ -21,10 +21,11 @@ export class ButtonSectionComponent {
|
|||
get title() {
|
||||
return this.objectsService.getValue(this.section, 'button-title');
|
||||
}
|
||||
get targetBlank() {
|
||||
return this.objectsService.getValue(this.section, 'target-blank');
|
||||
get targetSelf() {
|
||||
return this.objectsService.getValue(this.section, 'target-self');
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue