Class Index | File Index

Classes


Class Monk.component.CollectionsFeelingLuckyComponent


Extends Workbench.component.Component.
Monk.component.CollectionsFeelingLuckyComponent
Defined in: collections-feeling-lucky.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
A Worbench.component.Component for randomly select text chunks.
Method Summary
Method Attributes Method Name and Description
<private>  
getNodes(node)
Get the children of the provided node
 
handle(monkEvent, data)
 
selectChunks(ratio)
Selects chunks based on the provided ratio
Class Detail
Monk.component.CollectionsFeelingLuckyComponent(args)
A Worbench.component.Component for randomly select text chunks.
Author: Stéfan Sinclair.
Parameters:
args
Since:
Monk 0.1
Method Detail
<private> getNodes(node)
Get the children of the provided node
Parameters:
{Object} node
The node whose children to get

handle(monkEvent, data)
Parameters:
monkEvent
data

selectChunks(ratio)
Selects chunks based on the provided ratio
Parameters:
{Integer} ratio
The ratio of chunks to select

©2009
Documentation generated by JsDoc Toolkit 2.0.2 on Wed May 06 2009 08:41:31 GMT-0500 (CDT)