import { Component , OnInit } from "@angular/core" ; import { BasicComponent } from "../../../comp-basic/basic/basic.component" ; import { SettingObjComponent } from "src/app/editor/model/setting-object.interface" ; @ Component ( { selector : 'app-button' , templateUrl : './button.component.html' , styleUrls : [ './button.component.scss' ] } ) export class ButtonComponent extends BasicComponent implements OnInit , SettingObjComponent { constructor ( ) { super ( ) ; } ngOnInit ( ) { this . initData ( ) ; } inputState ( event ) { this . settingObj [ 'editeabled' ] = true ; } }