| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <!-- Example: web-controls.xml -->
- <?xml version="1.0" encoding="UTF-8"?>
- <patterns xmlns="ui-layout-patterns">
-
- <!-- Web/HTML-specific controls -->
- <control name="WebBrowser" type="container" category="web-specific">
- <constraints>
- <allowed-parents>Panel</allowed-parents>
- <allowed-children>none</allowed-children>
- <container>false</container>
- </constraints>
- <attributes>
- <attribute name="url" type="string" default="about:blank" />
- <attribute name="allow-navigation" type="bool" default="true" />
- <attribute name="script-errors-suppressed" type="bool" default="false" />
- <attribute name="web-browser-shortcuts-enabled" type="bool" default="true" />
- </attributes>
- <behavior>
- <event name="navigating" />
- <event name="document-completed" />
- <event name="new-window" />
- </behavior>
- </control>
-
- <control name="DatePicker" type="input" category="web-specific">
- <constraints>
- <allowed-parents>Panel,FormField</allowed-parents>
- <allowed-children>none</allowed-children>
- <container>false</container>
- </constraints>
- <attributes>
- <attribute name="selected-date" type="date" default="today" />
- <attribute name="min-date" type="date" default="1900-01-01" />
- <attribute name="max-date" type="date" default="2100-12-31" />
- <attribute name="format" type="string" default="yyyy-mm-dd" />
- <attribute name="show-week-numbers" type="bool" default="false" />
- </attributes>
- <behavior>
- <event name="date-changed" />
- </behavior>
- </control>
- </patterns>
|