File

projects/commons/src/lib/elements/brand/components/brand.component.ts

Metadata

selector cmn-brand
styleUrls ./brand.component.scss
templateUrl ./brand.component.html

Index

Inputs

Inputs

image
Type : string
link
Type : string
import { Component, Input } from '@angular/core';

@Component({
    selector: 'cmn-brand',
    templateUrl: './brand.component.html',
    styleUrls: [ './brand.component.scss' ],
})

export class BrandComponent {
    @Input() public readonly link: string;
    @Input() public readonly image: string;
}
<div class="navbar-brand">
    <a class="navbar-item"
       [routerLink]="['']">
        <img [src]="image" />
    </a>

    <a role="button"
       class="navbar-burger"
       aria-label="menu"
       aria-expanded="false">
        <span aria-hidden="true"></span>
        <span aria-hidden="true"></span>
        <span aria-hidden="true"></span>
    </a>
</div>

./brand.component.scss

Legend
Html element
Component
Html element with directive

result-matching ""

    No results matching ""