imageEditor.defaultTool Property HTML5/Flash Uploader JavaScript

Supported technologies:

Gets or sets a tool selected in the image editor by default.


JavaScript Initialize
    imageEditor: {
        //...other params...
        defaultTool: "crop",
        //...other params...
Get/Set Value at Runtime
value = $au.imageUploaderFlash('uploaderID').imageEditor().defaultTool();

Property Value

Type: String

There are two values supported so far: crop and draw.

Default value is "crop".

See Also