tracking-code-which-will-go-to-the-HEAD ComponentLink

Class

ComponentLink

ComponentLink(propsopt)

Class that links Components together.
Constructor
Default constructor.
Parameters:
Name Type Attributes Description
props object <optional>
Object that contains all properties to set.
source string <optional>
Id of component can be the source in a link.
target string <optional>
Id of component can be the target of the link.
name string <optional>
Name of the link anchor, link to store where the link begin.
definition ComponentLinkDefinition <optional>
The definition of the link.
isReverse boolean <optional>
Indicate if this link is a reverse link. The purpose of reversing a Link is to switch the start and the end of the link.

View Source models/ComponentLink.js, line 7

Extends

Members

ComponentLinkDefinition

# definition

The definition of the link.

View Source models/ComponentLink.js, line 59

boolean

# isReverse

Indicate if this link is a reverse link. The purpose of reversing a Link is to switch the start and the end of the link.

View Source models/ComponentLink.js, line 65

string

# name

Name of the link.

View Source models/ComponentLink.js, line 54

string

# path

Path of the file.
Overrides:
Default Value:
  • null

View Source models/FileInformation.js, line 20

object

# source

Where the link is created.

View Source models/ComponentLink.js, line 44

object

# target

Target of the link.

View Source models/ComponentLink.js, line 49