Angular directive

folderDirective source template

Description

Directive for displaying folder structure in default HS layers template. Used recursively to build full folder structure if it is created in layer manager. Single instance shows layers and subfolders of its position in folder structure.

Methods

folderVisible (obj) -> Boolean

Find if current folder has any subfolder

Parameters

NameTypeDescription
obj Object

Folder object of current hiearchy

Returns

TypeDescription
Boolean

True if subfolders exists