import { Component , HostBinding } from "@angular/core" ; import { SuiPopupConfig } from "ng2-semantic-ui" ; @ Component ( { selector : "demo-root" , templateUrl : "./app.component.html" , styleUrls : [ "./app.component.css" ] } ) export class AppComponent { constructor ( popupConfig ) { popupConfig . isInverted = true ; popupConfig . delay = 300 ; } }