pandorafms/pandora_console/include/styles/cb/lib/xtimer.xml

69 lines
1.8 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<xlib_symbol id='xTimer'>
<copyright>Copyright 2003-2005 Michael Foster (Cross-Browser.com)</copyright>
<license>Part of X, a Cross-Browser Javascript Library, Distributed under the terms of the GNU LGPL</license>
<groups>
<grp>Object</grp>
</groups>
<type>Object</type>
<description><![CDATA[Register an object method to receive a timeout or interval event. On timeout the event listener will receive a reference to it's xTimerObj which has methods: start, stop, and reset; and properties: elapsed and data. xTimer is a global object created when x_timer.js is included. Multiple timers can be set.]]></description>
<syntax>xTimer.set(sTmrType, obj, sMethod, uTime, data)</syntax>
<parameters>
<par>
<name>sTmrType</name>
<note><![CDATA['timeout' or 'interval']]></note>
</par>
<par>
<name>obj</name>
<note><![CDATA[object to receive event]]></note>
</par>
<par>
<name>sMethod</name>
<note><![CDATA[string: name of one of obj's methods]]></note>
</par>
<par>
<name>uTime</name>
<note><![CDATA[time in ms]]></note>
</par>
<par>
<name>data</name>
<note><![CDATA[passed to listener at event]]></note>
</par>
</parameters>
<properties>
<prop>
<name></name>
<note><![CDATA[]]></note>
</prop>
</properties>
<demos>
<demo>
<url>http://cross-browser.com/x/examples/popup.php</url>
<note><![CDATA[popup using xTimer]]></note>
</demo>
</demos>
<revisions>
<rev>
<num>2</num>
<date>17May04</date>
<author>mf</author>
<note><![CDATA[removed unneccessary closures]]></note>
</rev>
<rev>
<num>1</num>
<date>31Mar04</date>
<author>mf</author>
<note><![CDATA[put in it's own file for use with XC]]></note>
</rev>
</revisions>
</xlib_symbol>