API Docs for: trial
Show:

nx.ui.AbstractComponent Class

Extends nx.Observable
Module: nx.ui

Methods

attach

(
  • parent
  • index
)

Attach the component to parent.

Parameters:

clearBinding

(
  • prop
)

Inherited from nx.Observable:

Clear binding for specified property.

Parameters:

(
  • names
  • handler
  • context
)

Inherited from nx.Observable:

Parameters:

createComponent

() static

Create component by json view.

destroy

()

Destroy the component.

detach

()

Detach the component from parent.

dispose

()

Inherited from nx.Observable

Dispose the component.

getBinding

(
  • prop
)

Inherited from nx.Observable:

Get existing binding object for specified property.

Parameters:

Returns:

:

getContainer

(
  • comp
)
nx.dom.Element

Get the container for component.

Parameters:

Returns:

nx.dom.Element:

notify

(
  • names
  • oldValue
)

Inherited from nx.Observable:

Parameters:

onAttach

()

Template method for component attach.

onChildAttach

()

Template method for child component attach.

onChildDetach

()

Template method for child component detach.

onDetach

()

Template method for component detach.

register

(
  • name
  • value
  • force
)

Register a resource.

Parameters:

resolve

(
  • name
)
Any

Resolve a resource.

Parameters:

Returns:

Any:

setBinding

(
  • prop
  • expr
  • source
)

Inherited from nx.Observable:

Set binding for specified property.

Parameters:

unregister

(
  • name
)

Unregister a resource.

Parameters:

unwatch

(
  • names
  • handler
  • context
)

Inherited from nx.Observable:

Parameters:

Properties

model

Any