Class: KScript

$k. KScript

new $k.KScript()

Abstract superclass of Javascript objects that wrap a i-views object

Methods

call(contextObject, variables)

Calls the KScript

Name Type Description
contextObject contextObject optional

Object that will be bound to the current object of the KScript

variables object optional

Variables passed to the KScript environment

callFunction(functionName, parameters, contextObject)

Calls a function of the KScript

Name Type Description
functionName string

Name of the function

parameters Array.<object> optional

Parameters passed to the function

contextObject object optional

Object that will be bound to the current object of the KScript