/**
 * @since Tue Sep 18 2018
 * @author Charles Gouldmann - Klean
 * 
 * @description This component wraps an internal or external link around 
 * the content if `link` is not empty. Else it will just show the content
 */

import { Component, OnInit, Input } from '@angular/core'


@Component({
    moduleId: module.id+ '',
    selector: 'linkwrapper',
    templateUrl: './template/t--linkwrapper.pug',
    styleUrls: ['sty.linkwrapper.scss']
})

export class LinkwrapperComponent {

    // ---- Variables ---- \\
    @Input() link: string


    constructor( ) { }


    // ---- Lifecycle hooks ---- \\


    // ---- Functions ---- \\

}
