Changes for page XWiki JavaScript API
Last modified by Simon Urli on 2022/09/14
From version 24.1
edited by Marius Dumitru Florea
on 2015/05/04
on 2015/05/04
Change comment:
There is no comment for this version
To version 25.1
edited by Guillaume Delhumeau
on 2015/05/28
on 2015/05/28
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. mflorea1 +XWiki.gdelhumeau - Content
-
... ... @@ -188,13 +188,13 @@ 188 188 }); 189 189 }); 190 190 ... 191 -// jQuery (new code) 191 +// jQuery (new code, in a different file/page) 192 192 require(['jquery', 'xwiki-events-bridge'], function($) { 193 193 $(document).trigger('xwiki:dom:updated', {'elements': $('.some-container').toArray()}); 194 194 }); 195 195 {{/code}} 196 196 197 -= Get some information about the current document = 197 += Get some information about the current document {{info}}Since 6.3M2{{/info}} = 198 198 199 199 In your javascript's applications, you can get (meta) information about the current document, though an AMS module. 200 200