mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-30 12:33:54 +03:00
Restore HTMLTableCellElement's abbr and scope properties (#3972)
This commit is contained in:
parent
240fbd2473
commit
69f9fe56ba
@ -48,6 +48,9 @@
|
||||
* Support for iterable in WebIDL. Gives `entries`, `keys`, `values` methods for regular and asynchronous, as well as `for_each` for regular, iterables.
|
||||
[#3962](https://github.com/rustwasm/wasm-bindgen/pull/3962)
|
||||
|
||||
* Add bindings for `HTMLTableCellElement.abbr` and `scope` properties.
|
||||
[#3972](https://github.com/rustwasm/wasm-bindgen/pull/3972)
|
||||
|
||||
### Changed
|
||||
|
||||
* Stabilize Web Share API.
|
||||
|
@ -61,6 +61,34 @@ extern "C" {
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
|
||||
pub fn cell_index(this: &HtmlTableCellElement) -> i32;
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "HTMLTableCellElement" , js_name = abbr)]
|
||||
#[doc = "Getter for the `abbr` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/abbr)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
|
||||
pub fn abbr(this: &HtmlTableCellElement) -> String;
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "HTMLTableCellElement" , js_name = abbr)]
|
||||
#[doc = "Setter for the `abbr` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/abbr)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
|
||||
pub fn set_abbr(this: &HtmlTableCellElement, value: &str);
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "HTMLTableCellElement" , js_name = scope)]
|
||||
#[doc = "Getter for the `scope` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/scope)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
|
||||
pub fn scope(this: &HtmlTableCellElement) -> String;
|
||||
# [wasm_bindgen (structural , method , setter , js_class = "HTMLTableCellElement" , js_name = scope)]
|
||||
#[doc = "Setter for the `scope` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/scope)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
|
||||
pub fn set_scope(this: &HtmlTableCellElement, value: &str);
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "HTMLTableCellElement" , js_name = align)]
|
||||
#[doc = "Getter for the `align` field of this object."]
|
||||
#[doc = ""]
|
||||
|
@ -21,6 +21,10 @@ interface HTMLTableCellElement : HTMLElement {
|
||||
[CEReactions, SetterThrows]
|
||||
attribute DOMString headers;
|
||||
readonly attribute long cellIndex;
|
||||
[CEReactions]
|
||||
attribute DOMString abbr;
|
||||
[CEReactions]
|
||||
attribute DOMString scope;
|
||||
};
|
||||
|
||||
partial interface HTMLTableCellElement {
|
||||
|
Loading…
Reference in New Issue
Block a user