TableCellElement.hx 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. /*
  2. * Copyright (C)2005-2017 Haxe Foundation
  3. *
  4. * Permission is hereby granted, free of charge, to any person obtaining a
  5. * copy of this software and associated documentation files (the "Software"),
  6. * to deal in the Software without restriction, including without limitation
  7. * the rights to use, copy, modify, merge, publish, distribute, sublicense,
  8. * and/or sell copies of the Software, and to permit persons to whom the
  9. * Software is furnished to do so, subject to the following conditions:
  10. *
  11. * The above copyright notice and this permission notice shall be included in
  12. * all copies or substantial portions of the Software.
  13. *
  14. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  17. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  19. * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  20. * DEALINGS IN THE SOFTWARE.
  21. */
  22. // This file is generated from mozilla\HTMLTableCellElement.webidl. Do not edit!
  23. package js.html;
  24. /**
  25. The `HTMLTableCellElement` interface provides special properties and methods (beyond the regular `HTMLElement` interface it also has available to it by inheritance) for manipulating the layout and presentation of table cells, either header or data cells, in an HTML document.
  26. Documentation [HTMLTableCellElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
  27. @see <https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement>
  28. **/
  29. @:native("HTMLTableCellElement")
  30. extern class TableCellElement extends Element
  31. {
  32. /**
  33. Is a `unsigned` `long` that represents the number of columns this cell must span. It reflects the `colspan` attribute.
  34. **/
  35. var colSpan : Int;
  36. /**
  37. Is a `unsigned` `long` that represents the number of rows this cell must span. It reflects the `rowspan` attribute.
  38. **/
  39. var rowSpan : Int;
  40. /**
  41. Is a `DOMSettableTokenList` describing a list of `id` of `th` elements that represents headers associated with the cell. It reflects the `headers` attribute.
  42. **/
  43. var headers : String;
  44. /**
  45. Is a `long` representing the cell position in the cells collection of the `tr` it belongs to. If the cell doesn't belong to a `tr`, it returns `-1`.
  46. **/
  47. var cellIndex(default,null) : Int;
  48. var abbr : String;
  49. var scope : String;
  50. /**
  51. Is a `DOMString` containing an enumerated value reflecting the `align` attribute. It indicates the alignment of the element's contents with respect to the surrounding context. The possible values are `"left"`, `"right"`, and `"center"`.
  52. **/
  53. var align : String;
  54. /**
  55. Is a `DOMString` containing a name grouping cells in virtual. It reflects the obsolete `axis` attribute.
  56. **/
  57. var axis : String;
  58. /**
  59. Is a `DOMString` containing a length of pixel of the hinted height of the cell. It reflects the obsolete `height` attribute.
  60. **/
  61. var height : String;
  62. /**
  63. Is a `DOMString` containing a length of pixel of the hinted width of the cell. It reflects the obsolete `width` attribute.
  64. **/
  65. var width : String;
  66. /**
  67. Is a `DOMString` containing one single chararcter. This character is the one to align all the cell of a column on. It reflects the `char` and default to the decimal points associated with the language, e.g. `'.'` for English, or `','` for French. This property was optional and was not very well supported.
  68. **/
  69. var ch : String;
  70. /**
  71. Is a `DOMString` containing a integer indicating how many characters must be left at the right (for left-to-right scripts; or at the left for right-to-left scripts) of the character defined by `HTMLTableCellElement.ch`. This property was optional and was not very well supported.
  72. **/
  73. var chOff : String;
  74. /**
  75. Is a `Boolean` value reflecting the `nowrap` attribute and indicating if cell content can be broken in several lines.
  76. **/
  77. var noWrap : Bool;
  78. /**
  79. Is a `DOMString` representing an enumerated value indicating how the content of the cell must be vertically aligned. It reflects the `valign` attribute and can have one of the following values: `"top"`, `"middle"`, `"bottom"`, or `"baseline"`.
  80. **/
  81. var vAlign : String;
  82. /**
  83. Is a `DOMString` containing the background color of the cells. It reflects the obsolete `bgColor` attribute.
  84. **/
  85. var bgColor : String;
  86. }