import { Component , Input } from '@angular/core' ; import { HsLanguageService } from '../../language/language.service' ; @ Component ( { selector : 'hs-layer-manager-folder' , templateUrl : './folder.html' , } ) export class HsLayerManagerFolderComponent { @ Input ( ) folder : any ; constructor ( public HsLanguageService ) { } public param { object } obj returns { boolean } description folderVisible ( obj ) { return obj . sub_folders . length > 0 ; } }