drawTool.enableEraser Property HTML5/Flash Uploader JavaScript

Supported technologies:

Gets or sets a value specifying whether to display the eraser tool.

Syntax

JavaScript Initialize
$au.imageUploaderFlash({
    imageEditor : {
        drawTool: {
            //...other params...
            enableEraser: true,
            //...other params...
        }
    }
})
Get/Set Value at Runtime
$au.imageUploaderFlash('uploaderID').imageEditor().drawTool().enableEraser(value);
value = $au.imageUploaderFlash('uploaderID').imageEditor().drawTool().enableEraser();

Property Value

Type: Boolean

If true, the user sees a eraser tool on the toolbar when the draw tool is activated.

Default value is true.

Remarks

The draw tool width also affects the eraser width.

See Also

Reference