You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
2.2 KiB

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>The source code</title>
  6. <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
  7. <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
  8. <style type="text/css">
  9. .highlight { display: block; background-color: #ddd; }
  10. </style>
  11. <script type="text/javascript">
  12. function highlight() {
  13. document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
  14. }
  15. </script>
  16. </head>
  17. <body onload="prettyPrint(); highlight();">
  18. <pre class="prettyprint lang-js"><span id='Ext-form-Hidden-method-constructor'><span id='Ext-form-Hidden'>/**
  19. </span></span> * @class Ext.form.Hidden
  20. * @extends Ext.form.Field
  21. * A basic hidden field for storing hidden values in forms that need to be passed in the form submit.
  22. * @constructor
  23. * Create a new Hidden field.
  24. * @param {Object} config Configuration options
  25. * @xtype hidden
  26. */
  27. Ext.form.Hidden = Ext.extend(Ext.form.Field, {
  28. <span id='Ext-form-Hidden-cfg-inputType'> // private
  29. </span> inputType : 'hidden',
  30. <span id='Ext-form-Hidden-property-shouldLayout'> shouldLayout: false,
  31. </span>
  32. <span id='Ext-form-Hidden-method-onRender'> // private
  33. </span> onRender : function(){
  34. Ext.form.Hidden.superclass.onRender.apply(this, arguments);
  35. },
  36. <span id='Ext-form-Hidden-method-initEvents'> // private
  37. </span> initEvents : function(){
  38. this.originalValue = this.getValue();
  39. },
  40. <span id='Ext-form-Hidden-method-setSize'> // These are all private overrides
  41. </span> setSize : Ext.emptyFn,
  42. <span id='Ext-form-Hidden-method-setWidth'> setWidth : Ext.emptyFn,
  43. </span><span id='Ext-form-Hidden-method-setHeight'> setHeight : Ext.emptyFn,
  44. </span><span id='Ext-form-Hidden-method-setPosition'> setPosition : Ext.emptyFn,
  45. </span><span id='Ext-form-Hidden-method-setPagePosition'> setPagePosition : Ext.emptyFn,
  46. </span><span id='Ext-form-Hidden-method-markInvalid'> markInvalid : Ext.emptyFn,
  47. </span><span id='Ext-form-Hidden-method-clearInvalid'> clearInvalid : Ext.emptyFn
  48. </span>});
  49. Ext.reg('hidden', Ext.form.Hidden);</pre>
  50. </body>
  51. </html>