What is the use of onContentReady, OnContentSave, OnContentSave, OnContentSave, OnContentSave, ONCONTENTSAVE

zhaozj2021-02-12  182

ONCONTENTREADY: FIRES WHEN THE Content of The Element, To Which The Behavior Is Attached, Has Been Completely Parsed

Http://msdn.microsoft.com/library/default.asp?url=/workshop/components/htc/reference/events/oncontentready.asp

OnDocumentReady: Fires When the Behavior's Containing Document Has Been Completely Pass.

Http://msdn.microsoft.com/library/default.asp?url=/workshop/components/htc/reference/events/ondocumentready.asp

OnContentsave: Fires Just Before The Content of An Element That Is Attached To An Element Behavior Is Saved OR Copie.

Http://msdn.microsoft.com/library/default.asp?url=/workshop/components/htc/reference/events/oncontentsave.asp

Ondetach: Fires Before A Behavior Is Detached from an element.

http://msdn.microsoft.com/library/default.asp?url=/workshop/components/htc/reference/events/ondetach.asp

OnContentReady refers to the TAG loaded by Element. OnDocumentReady means that onContentReady fingers, onContentSave is completed when HTC is specified as a Pesist, requires saving properties ... (For example, INPUT TYPE = Text can keep Value after retreat) ONDETACH Relative to OnContentReady, OndocumentReady, HTC and Element are detached..

Differences about OnContentReady and OndocumentReady

For example, Element is:

Then OnContentReady refers to loading and onDocumentReady means nested document loaded.

转载请注明原文地址:https://www.9cbs.com/read-7324.html

New Post(0)