Home Cooker Classes Others Rice
Classes  >  jsexecutor
jsexecutor class

Description

Represents the function for the JavaScript execution.

Notes

It is a class that is statically included in the Cooker.

Please note that the instance obtained by variable declaration has already been initialized.

fitter

SignatureDescription
jsexecutor()

Get a new instance of jsexecutor class.

getter

SignatureDescription
Fitted

Gets the value that indicates whether this instance was already initialized.

TypeName

Gets the type name.

setter

This class does not have a setter.

method

SignatureDescription
Execute(string)

Executes JavaScript code passed by the argument.

CallJSFunc(string,...)

Invokes a JavaScript function by its name.

GetData()

Gets a string from the window.external object.

SetData(string)

Sets a string to the window.external object.

SetJS(string,string)

It creates a script tag to current page, and directly puts JavaScript code to the script tag.

SetSRC(string,string,string)

It creates a script tag to current page, and sets the src attribute in order to load JavaScript code.

direct JavaScript function call

SignatureDescription
...(...)

Calls a JavaScript function with Rice's method invocation notation.

event

SignatureDescription
Notice(class,string)

Assigns an event handler to the "Notice" event.

Copyright © Rice All rights reserved.