Skip to content
Snippets Groups Projects
Select Git revision
  • 940dfba7de4a138fec01fc72e2db6281b2d0adfe
  • development default
  • production protected
  • bugfixing
  • polishing
  • update
  • security_patch
7 results

basics.component.ts

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    basics.component.ts 607 B
    import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core';
    
    @Component({
      selector: 'app-basics',
      templateUrl: './basics.component.html',
      styleUrls: ['./basics.component.scss']
    })
    export class BasicsComponent implements OnInit {
    
      constructor() { }
      @Output() navigate = new EventEmitter<string>();
      @Input() cdn : string= "";
      basicCode= ""
    
      ngOnInit(): void {
        this.basicCode="<head>\n" +
            "   <script src=\""+this.cdn+"/latest/drugstone.js\"></script>\n" +
            "   <link rel=\"stylesheet\" href=\""+this.cdn+"/latest/styles.css\">\n" +
            "</head>"
      }
    }