Filter

Filter

Filters attributs & methods
Source:

Methods

(static) canClose(bool)

True : description bar can be closed, False : description bar can not be closed
Source:
Parameters:
Name Type Description
bool bool

(static) close()

Close the description bar
Source:

(static) fill()

Feed all fields from the description bar about the selected entity
Source:

(static) fixer()

position: fixed; the description bar
Source:

(static) init()

Initialize the filters click events
Source:

(static) open()

Open the description bar
Source:

(static) setConnexion(nodeConnectedList)

Generate the connected nodes
    list, its description frame
Source:
Parameters:
Name Type Description
nodeConnectedList array Connected nodes array

(static) setImage(photoPath, entiteLabel)

Show entity image on description bar
Source:
Parameters:
Name Type Description
photoPath string photo path
entiteLabel string Entity name for alt img attribute

(static) setMeta(meta, content)

Set an entity meta on a field from description bar
Source:
Parameters:
Name Type Description
meta string meta text
content HTMLElement HTML element from description bar
Set the permanent link button from description bar onlick : save link on clipboard
Source:
Set the entity link to Wikipedia on description bar
Source:
Parameters:
Name Type Description
wikiLink string URL adress