Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit 1c2d845

Browse files
committed
Fix event docs
1 parent 4ba137a commit 1c2d845

1 file changed

Lines changed: 36 additions & 2 deletions

File tree

app/assets/javascripts/task_lists.coffee

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
#
33
#= provides tasklist:enabled
44
#= provides tasklist:disabled
5-
#= provides tasklist:changing
65
#= provides tasklist:change
6+
#= provides tasklist:changed
77
#
88
#= require crema/element/fire
99
#= require crema/events/pageupdate
@@ -46,7 +46,41 @@
4646
#
4747
# ### Events
4848
#
49-
# When the TaskList field has been changed, a `tasklist:change` event is fired.
49+
# `tasklist:enabled`
50+
#
51+
# Fired when the TaskList is enabled.
52+
#
53+
# * **Synchronicity** Sync
54+
# * **Bubbles** Yes
55+
# * **Cancelable** No
56+
# * **Target** `.js-task-list-container`
57+
#
58+
# `tasklist:disabled`
59+
#
60+
# Fired when the TaskList is disabled.
61+
#
62+
# * **Synchronicity** Sync
63+
# * **Bubbles** Yes
64+
# * **Cancelable** No
65+
# * **Target** `.js-task-list-container`
66+
#
67+
# `tasklist:change`
68+
#
69+
# Fired before the TaskList item change takes affect.
70+
#
71+
# * **Synchronicity** Sync
72+
# * **Bubbles** Yes
73+
# * **Cancelable** Yes
74+
# * **Target** `.js-task-list-field`
75+
#
76+
# `tasklist:changed`
77+
#
78+
# Fired once the TaskList item change has taken affect.
79+
#
80+
# * **Synchronicity** Sync
81+
# * **Bubbles** Yes
82+
# * **Cancelable** No
83+
# * **Target** `.js-task-list-field`
5084
#
5185
# ### NOTE
5286
#

0 commit comments

Comments
 (0)