GetCurrentWord

GetCurrentWord([type]) → { string }

Returns the current word.

Parameters:

Name Type Default Description
type TextPartType "entirely"

Specifies if the whole word or only its part will be returned.

Returns:

Type
string

Example

Copy code
window.Asc.plugin.executeMethod ("GetCurrentWord", ["entirely"], function (res) {
    console.log (res)
});