Skip to content

Commit a1cf06d

Browse files
author
Clarence Leung
committed
Clarify docs to explain initially unadded elements
1 parent e9331dd commit a1cf06d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/event-valuechange/js/event-valuechange.js

+6
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,12 @@ VC = {
414414
/**
415415
Called when the `valuechange` event receives a new subscriber.
416416
417+
Child nodes that aren't initially available when this subscription is
418+
called will still fire the `valuechange` event after their data is
419+
collected when the delegated `focus` event is captured. This includes
420+
elements that haven't been inserted into the DOM yet, as well as
421+
elements that aren't initially `contenteditable`.
422+
417423
@method _onSubscribe
418424
@param {Node} node
419425
@param {Subscription} sub

0 commit comments

Comments
 (0)