Home Reference Source
import PatchVariable from './core/core_variable.js'
public class | source

PatchVariable

Extends:

cables-shared-client~Events → PatchVariable

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

type: *

Private Members
private

_name: *

private

_v: *

Method Summary

Public Methods
public

addListener(cb: *)

keeping this for backwards compatibility in older exports before using eventtarget

public

getName(): String | Number | Boolean

public

getValue(): String | Number | Boolean

public

setValue(v: *): String | Number | Boolean

Public Constructors

public constructor() source

Public Members

public type: * source

Private Members

private _name: * source

private _v: * source

Public Methods

public addListener(cb: *) source

keeping this for backwards compatibility in older exports before using eventtarget

Params:

NameTypeAttributeDescription
cb *

public getName(): String | Number | Boolean source

Return:

String | Number | Boolean

public getValue(): String | Number | Boolean source

Return:

String | Number | Boolean

public setValue(v: *): String | Number | Boolean source

Params:

NameTypeAttributeDescription
v *

Return:

String | Number | Boolean