Methods
-
<private> _isCompleted(todo) → {*}
-
Parameters:
Name Type Description todo
- Source:
Returns:
- Type
- *
-
comparator(todo) → {*}
-
Parameters:
Name Type Description todo
- Source:
Returns:
- Type
- *
-
destroy()
-
- Source:
-
getActive() → {*}
-
- Source:
Returns:
- Type
- *
-
getCompleted() → {*}
-
- Source:
Returns:
- Type
- *
-
initialize()
-
- Source:
-
isCompleted()
-
- Source:
-
onClearClick()
-
onClearClick event handler
- Source:
-
onEditClick()
-
edit click event handler
- Source:
-
onEditFocusout()
-
edit focus out event handler
- Source:
-
onEditKeypress(e)
-
edit key press event handler
Parameters:
Name Type Description e
event
- Source:
-
onRender()
-
use onRender only for update after first render / show
- Source:
-
onRender()
-
use onRender only for update after first render / show
- Source:
-
onRender()
-
- Source:
-
onShow()
-
use onShow rather than onRender because DOM is not ready and this.$el find or parent will return nothing
- Source:
-
onShow()
-
- Source:
-
onShow()
-
use onShow rather than onRender because DOM is not ready and this.$el find or parent will return nothing
- Source:
-
onSubmit(e)
-
onSubmit event handler
Parameters:
Name Type Description e
- Source:
-
onToggleAllClick(e)
-
toggle all click event handler
Parameters:
Name Type Description e
event
- Source:
-
reduceCompleted(left, right) → {*}
-
Parameters:
Name Type Description left
right
- Source:
Returns:
- Type
- *
-
serializeData() → {Object}
-
- Source:
Returns:
- Type
- Object
-
toggle()
-
- Source:
-
toggle()
-
- Source:
-
update()
-
- Source:
-
update()
-
- Source:
-
updateFilter(filter)
-
Parameters:
Name Type Description filter
- Source: