import { Component , OnInit } from '@angular/core' ; @ Component ( { selector : 'thy-back-top-custom-example' , templateUrl : './custom.component.html' , styleUrls : [ './custom.scss' ] } ) export class ThyBackTopCustomExampleComponent implements OnInit { constructor ( ) { } ngOnInit ( ) { } notify ( ) { console . log ( 'notify' ) ; } }