API Docs for: 0.0.0
Show:

Set Class

Module: Elements

Represents the set of links that connect elements. Various collections serve different purposes for how they connect and can inherit from one another.

Constructor

Set

(
  • session
  • description
)

Parameters:

  • session Object
  • description Object

Methods

checkAccess

(
  • session
)
Boolean

Parameters:

Returns:

Boolean:

emit

(
  • session
  • key
  • data
  • origin
)

Parameters:

  • session Session
  • key String

    Identifier for the event to emit, a key prefix of "ext-" indicating external origin is required and added automatically if omitted.

  • data Object
  • origin String

Throws:

Error:

On access denial

propagating

(
  • id
  • event
)

Parameters:

  • id String

    The Element causing the event emission from this set.

  • event Event

    The Event that is propagating.

Properties

created

Number

creater

String

description

String

Markdown style string describing the purpose of the set.

fields

Object

Custom fields to use to tag the set for informational purposes.

id

String

id

String

modified

Number

modifier

String

name

String

private

Boolean

When true, edges in this page are considered limited to the page and not the master list.

touched

Array | String

Array of page IDs that should be considered a subgroup of this page.