Native

APIRendererNative

Source

Native.New(options)

Parameters:
  • options — Objectoptional
Returns:
Native

Source

Native.defineProperty(config)

Parameters:
  • config — Object

Defines new property with the given name.

For each property, signal onXYZChange is created, where XYZ is the given name.

config parameter must be an object with specified keys:

Predefined types

Source

text

Source

number

Source

boolean

Source

color

Source

item

Source

Native::constructor()

Extends:
Item
Returns:
Native

Source

Native::set(propName, val)

Parameters:
  • propName — String
  • val — Any

Source

Native::call(funcName, args...)

Parameters:
  • funcName — String
  • args... — Any

Source

Native::on(eventName, listener)

Parameters:
  • eventName — String
  • listener — Function

Source