From 5d244175dc9b6042f7114c934ebde7eab4ab3caf Mon Sep 17 00:00:00 2001 From: Benjamin Solum Date: Thu, 26 Oct 2017 10:58:34 -0500 Subject: [PATCH] Add readonly control property to HTMLLabelElement Per the MDN documentation for Label elements: https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement Label elements have a read only control property which references the input element by which the label is associated. --- src/lib/dom.generated.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/dom.generated.d.ts b/src/lib/dom.generated.d.ts index e410471544639..92ce7b615cbb6 100644 --- a/src/lib/dom.generated.d.ts +++ b/src/lib/dom.generated.d.ts @@ -5516,6 +5516,10 @@ interface HTMLLabelElement extends HTMLElement { * Retrieves a reference to the form that the object is embedded in. */ readonly form: HTMLFormElement | null; + /** + * Retrieves a reference to the input representing the control with which the label is associated. + */ + readonly control: HTMLInputElement | null; /** * Sets or retrieves the object to which the given label object is assigned. */ @@ -15203,4 +15207,4 @@ type ServiceWorkerState = "installing" | "installed" | "activating" | "activated type Transport = "usb" | "nfc" | "ble"; type VideoFacingModeEnum = "user" | "environment" | "left" | "right"; type VisibilityState = "hidden" | "visible" | "prerender" | "unloaded"; -type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text"; \ No newline at end of file +type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";