Home Reference Source
import REFERENCE from 'observabubble/props/Reference.js'
public class | source

REFERENCE

Extends:

PropEventsProp → REFERENCE

Direct Subclass:

UserRef

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

model: *

public
Private Members
private

_ref: *

Method Summary

Public Methods
public

get(): *

public

getRef(): *

public

valueOf(): *

Private Methods
private

_attachRef(ref: *)

private

Inherited Summary

From class PropEvents
public
public
public

parent: *

private

_event: {}

public

off(eventName: Event, callback: Function)

Unbinds an event listener

public

on(eventName: Event, callback: Function)

Bind an event listener

private

_bubble(eventName: Event, target: Prop)

Calls event bubbling on the parent Observable

private

async _processEvent(eventName: Event, target: Prop, additional: Object)

Calls the listeners for the Event triggered

From class Prop
public static

isProp: *

public

name: *

public

value: *

public

[Symbol.toPrimitive](hint: *): *

public

equals(data: *): *

public

format(): *

public

get(): *

public

parse(value: *): *

public

toJSON(): *

public

toString(): *

public

valueOf(): *

private

_set(value: *, objectPattern1: {"preventEvent": *})

Public Constructors

public constructor() source

Override:

Prop#constructor

Public Members

public model: * source

public modelName: * source

Private Members

private _ref: * source

Public Methods

public get(): * source

Override:

Prop#get

Return:

*

public getRef(): * source

Return:

*

public valueOf(): * source

Override:

Prop#valueOf

Return:

*

Private Methods

private _attachRef(ref: *) source

Params:

NameTypeAttributeDescription
ref *

private _preChange() source