|
CAF Noodle JavaScript | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--Noodle.Model | +--Noodle.Leftnav.BranchModel | +--Noodle.Leftnav.ToolModel
Methods for tool leftnav-branch model.
Defined in leftnav.js
Constructor Summary | |
Noodle.Leftnav.ToolModel
()
|
Method Summary | |
<static> void
|
add(<optional> near, <optional> page)
Adds this tool to the current page. |
<static> Object
|
allowDragDrop(<object> cur, <Draggable> drag, <Droppable> drop)
Returns true if this draggable is droppable. |
<static> Object
|
createDraggable()
Create noodle draggable item. |
<static> void
|
createMenuItems()
Create leftnav tool menu items. |
<static> void
|
onDragFinish(cur, drag, drop)
Called when noodle draggable item finishes dragging. |
<static> void
|
open()
Action when open menu item is selected. |
<static> void
|
refreshMenuItems()
Refresh menu items (when new page is loaded). |
Constructor Detail |
Noodle.Leftnav.ToolModel()
Method Detail |
<static> void add(<optional> near, <optional> page)
near
- Element near which to add tool.
page
- Page to which to add tool.
<static> Object allowDragDrop(<object> cur, <Draggable> drag, <Droppable> drop)
cur
- Current drag operation data.
drag
- Daggable object.
drop
- Droppable object.
<static> Object createDraggable()
<static> void createMenuItems()
<static> void onDragFinish(cur, drag, drop)
<static> void open()
<static> void refreshMenuItems()
|
CAF Noodle JavaScript | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |