bidatepicker.xml

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

XML
109
字号
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="api.xsl"?><class name="BiDatePicker" extends="BiComponent">	<description>This component provides a text field where one can write a date and a popup containing a<link class="BiCalendar">BiCalendar</link> that allows one to pick a date.</description>	<arguments>		<argument name="oDate" optional="true">			<description>Optional date</description>			<type>Date</type>		</argument>	</arguments>	<staticMethods>		<method name="createRegExpValidator">			<description>This method is useful when assigning regular expressions as validation functions.</description>			<arguments>				<argument name="oRegExp">					<description>A regular expression object</description>					<type>RegExp</type>				</argument>			</arguments>			<returns>				<type>Function</type>			</returns>		</method>	</staticMethods>	<staticFields>	</staticFields>	<methods>	</methods>	<properties>		<property name="popup" get="true">			<description>The popup containing the calendar</description>			<type>				<link class="BiPopup">BiPopup</link>			</type>		</property>		<property name="textField" get="true">			<description>The text field inside the component</description>			<type>				<link class="BiTextField">BiTextField</link>			</type>		</property>		<property name="button" get="true">			<description>The drop down button inside the component</description>			<type>				<link class="BiButton">BiButton</link>			</type>		</property>		<property name="selectedDate" get="true" set="true">			<description>The selected date</description>			<type>Date</type>		</property>		<property name="dateFormat" get="true" set="true">			<description>The object describing how to parse and format dates</description>			<type>				<link class="BiDateFormat">BiDateFormat</link>			</type>		</property>		<property name="dropDownVisible" get="true" set="true">			<description>Whether the calendar part is visible or not</description>			<type>Boolean</type>		</property>		<property name="text" get="true" set="true">			<description>The text shown in the text field part of the date picker. Setting this causes the text to be parsed and this might trigger a <link>change</link> event.</description>			<type>String</type>		</property>		<property name="validator" get="true" set="true">			<description>A function that is used to validate the text</description>			<type>Function</type>		</property>		<property name="invalidMessage" get="true" set="true">			<description>A string that can be used to describe why the input is invalid</description>			<type>String</type>		</property>		<property name="isValid" get="true">			<description>This will call the validator (if any) and return <code>true</code> if the text is valid</description>			<type>Boolean</type>		</property>	</properties>	<events>		<event name="textchanged">			<description>This is fired when the text in the text field 								is changed</description>			<type>				<link class="BiEvent">BiEvent</link>			</type>		</event>		<event name="action">			<description>This is fired when the user clicks to select 								a date or when the enter key is pressed</description>			<type>				<link class="BiEvent">BiEvent</link>			</type>		</event>		<event name="change">			<description>This is fired when the selecetd date changes</description>			<type>				<link class="BiEvent">BiEvent</link>			</type>		</event>	</events>	<remarks>	</remarks></class>

⌨️ 快捷键说明

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