dojox/editor/plugins/SpellCheck._SpellCheckScriptMultiPart (version 1.10)

Summary

It is a base network service component. It transfers text to a remote service port with cross domain ability enabled. It can split text into specified pieces and send them out one by one so that it can handle the case when the service has a limitation of the capability. The encoding is UTF-8.

Usage

var foo = new SpellCheck._SpellCheckScriptMultiPart();
dojox/editor/plugins/SpellCheck

See the dojox/editor/plugins/SpellCheck._SpellCheckScriptMultiPart reference documentation for more information.

Property Summary

Method Summary

Event Summary

Properties

_timeout

Set JSONP timeout period

ACTION_QUERY
ACTION_UPDATE
callbackHandle
delimiter
label
maxBufferLength

Methods

_finalizeCollection(action)

Assemble the responses into one result.

Parameter Type Description
action undefined

The action token

send(content,action)

Send the content to the service port with the specified action

Parameter Type Description
content String

The text to be sent

action String
Optional

The action the service should take. Current support actions are ACTION_QUERY and ACTION_UPDATE

setWaitingTime(seconds)
Parameter Type Description
seconds Number

Events

onLoad(data)
Parameter Type Description
data String
Error in the documentation? Can’t find what you are looking for? Let us know!