Home News DOC Class DL Others Rice
Class  >  jsexecutor
jsexecutor class

Description

Represents the function to execute JavaScript.

Notes

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

An instance returned by variable declaration has been initialized.

Returns a singleton instance in response to an instance creation request. That is, variables of this class refer to the same instance.

fitter

SignatureDescription
jsexecutor()

Returns a new instance of jsexecutor class.

getter

SignatureDescription
Fitted

Returns the value that indicates whether an instance was initialized.

TypeName

Returns the type name.

setter

This class does not have a setter.

method

SignatureDescription
CallJSFunction(string,...)

Calls a JavaScript function.

Execute(string)

Executes JavaScript code.

Execute(string,bool)

Executes JavaScript code.

ExecuteFromFile(string)

Executes JavaScript code.

ExecuteFromFile(string,bool)

Executes JavaScript code.

ExistsId(string)

Returns a value that indicates whether the element exists.

GetData()

Returns a string set in JavaScript.

SetData(string)

Sets a string to JavaScript.

SetJS(string,string)

Creates a script tag and insert the JavaScript code.

SetJSFromFile(string,string)

Creates a script tag and insert the JavaScript code.

SetSRC(string,string,string)

Creates a script tag and sets the src attribute.

TrimDQ(string)

Returns a new string with double quotes removed.

direct JavaScript function call

SignatureDescription
...(...)

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

event

SignatureDescription
Notice(class,string)

Assigns a handler to the "Notice" event.

Copyright © Rice All rights reserved.