dojox/mobile/_EditableIconMixin (version 1.10)

Summary

A mixin for IconContainer to make it editable.

See the dojox/mobile/_EditableIconMixin reference documentation for more information.

Property Summary

Method Summary

Event Summary

Properties

deleteIconForEdit
threshold

Methods

_animate(from,to)
Parameter Type Description
from int
to int
_clearPressTimer()
_contains(point,pos)
Parameter Type Description
point undefined
pos undefined
Returns:boolean
_deleteIconClicked(e)

Internal handler for click events.

Parameter Type Description
e undefined
_detectOverlap(point)
Parameter Type Description
point Object
_setEditableAttr(editable)
Parameter Type Description
editable Boolean
deleteIconClicked(e)

User-defined function to handle clicks for the delete icon.

Parameter Type Description
e Event
deleteItem(item)

Deletes the given item.

Parameter Type Description
item Widget
destroy()

Destroys the container.

endEdit()

Ends the editing.

moveChild(widget,insertIndex)

Moves a child without animation.

Parameter Type Description
widget Widget | Number
insertIndex Number
Optional
moveChildWithAnimation(widget,insertIndex)

Moves a child with animation.

Parameter Type Description
widget Widget | Number
insertIndex Number
Optional
removeChildWithAnimation(widget)

Removes the given child with animation.

Parameter Type Description
widget Widget | Number
scaleItem(widget,ratio)

Scales an item according to the specified ratio.

Parameter Type Description
widget Widget
ratio Number
startEdit()

Starts the editing.

Events

_onDragStart(e)
Parameter Type Description
e undefined
_onTouchEnd(e)
Parameter Type Description
e undefined
_onTouchMove(e)
Parameter Type Description
e undefined
_onTouchStart(e)
Parameter Type Description
e undefined
_onTransitionEnd(e)
Parameter Type Description
e undefined
_onTransitionStart(e)
Parameter Type Description
e undefined
onDeleteItem(item)

Stub function to connect to from your application.

Parameter Type Description
item Widget
onEndEdit()

Stub function to connect to from your application.

onMoveItem(item,from,to)

Stub function to connect to from your application.

Parameter Type Description
item Widget
from int
to int
onStartEdit()

Stub function to connect to from your application.

Error in the documentation? Can’t find what you are looking for? Let us know!