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

Syntax

JavaScript

Initialize

$au.imageUploaderFlash({
    imageEditor: {
        //...other params...
        defaultTool: "crop",
        //...other params...
    }
})

Get/Set Value at Runtime

$au.imageUploaderFlash('uploaderID').imageEditor().defaultTool(value);
value = $au.imageUploaderFlash('uploaderID').imageEditor().defaultTool();

Property Value

Type: String

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

Default value is "crop".