biscriptloaderqueue.xml

来自「ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.」· XML 代码 · 共 114 行

XML
114
字号
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="api.xsl"?><class name="BiScriptLoaderQueue" extends="BiEventTarget">	<description>Used to load multiple js files and once all are loaded they are executed in the order they were added.</description>	<arguments>	</arguments>	<staticMethods>	</staticMethods>	<staticFields>	</staticFields>	<methods>		<method name="add">			<description>Adds an external script file by providing the URI for the file</description>			<arguments>				<argument name="oUri">					<description>The location of the script file. If this is a string a 							new URI is created from that string relative to the                          <link class="BiApplication" field="adfPath">ADF path</link>.</description>					<type>						<link class="BiUri">BiUri</link>					</type>				</argument>			</arguments>			<returns>				<type>void</type>			</returns>		</method>		<method name="addInline">			<description>Adds inline script code</description>			<arguments>				<argument name="sText">					<description>The JavaScript code to add</description>					<type>String</type>				</argument>			</arguments>			<returns>				<type>void</type>			</returns>		</method>		<method name="load">			<description>Starts the loading of the scripts. The loading is done asynchronously so this will return immediately. When all scripts are loaded the <link>load</link> event will fire.</description>			<arguments>			</arguments>			<returns>				<type>void</type>			</returns>		</method>		<method name="abort">			<description>Stops the current loading</description>			<arguments>			</arguments>			<returns>				<type>void</type>			</returns>		</method>		<method name="execScript">			<description>Executes a string containing javascript in the global scope</description>			<arguments>				<argument name="s">					<description>The javascript code to execute</description>					<type>String</type>				</argument>			</arguments>			<returns>				<type>void</type>			</returns>		</method>	</methods>	<properties>		<property name="async" get="true" set="true">			<description>If this is set to false then the loading will lock the UI thread but the loading and execution will happen and finish when <link>load</link> is called.</description>			<type>Boolean</type>		</property>		<property name="loaded" get="true">			<description>Whether all scripts have been loaded. This does not necessarily mean that the code inside the scripts have been executed.</description>			<type>Boolean</type>		</property>		<property name="loadedCount" get="true">			<description>Returns the number of finished loading scripts. This includeds the inline scripts as well.</description>			<type>Number</type>		</property>		<property name="scriptCount" get="true">			<description>Returns the number of added scripts. This includeds the inline scripts as well.</description>			<type>Number</type>		</property>	</properties>	<events>		<event name="load">			<description>Fires when all the scripts have been loaded and executed</description>			<type>				<link class="BiEvent">BiEvent</link>			</type>		</event>		<event name="progress">			<description>Fires every time one of the external scripts have 								been loaded. This is useful for providing visual feedback.</description>			<type>				<link class="BiEvent">BiEvent</link>			</type>		</event>	</events>	<remarks>	</remarks></class>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?