Home Reference Source Repository

Function

Static Public Summary
public

backed(_class: class): *

public

bind(_class_: *, property: *, instance: *)

Bind properties

public

fireevent(type: string, target: object, detail: string | boolean | number | object)

public

loadScript(src: *): *

public

polyloader(name: string, main: string, root: string): *

public

pubsubloader(isWindow: *)

public

tojsprop(string: *): string

Static Public

public backed(_class: class): * source

import backed from 'backed/src/backed.js'

Params:

NameTypeAttributeDescription
_class class

Return:

*

public bind(_class_: *, property: *, instance: *) source

import bind from 'backed/src/internals/bind.js'

Bind properties

Params:

NameTypeAttributeDescription
_class_ *
property *
instance *

public fireevent(type: string, target: object, detail: string | boolean | number | object) source

import fireevent from 'backed/src/internals/fire-event.js'

Params:

NameTypeAttributeDescription
type string

name of the event

target object

HTMLElement to target

detail string | boolean | number | object

the value to pass

public loadScript(src: *): * source

import loadScript from 'backed/src/internals/load-script.js'

Params:

NameTypeAttributeDescription
src *

Return:

*

public polyloader(name: string, main: string, root: string): * source

import polyloader from 'backed/src/poly-loader.js'

Params:

NameTypeAttributeDescription
name string

package name (folder)

main string

script to use

root string

location of your components

Return:

*

public pubsubloader(isWindow: *) source

import pubsubloader from 'backed/src/internals/pub-sub-loader.js'

Params:

NameTypeAttributeDescription
isWindow *

public tojsprop(string: *): string source

import tojsprop from 'backed/src/internals/to-js-prop.js'

Params:

NameTypeAttributeDescription
string *

Return:

string

string