Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provides a short access to document elements by ID via delegated
property syntax. Received element is not cached and received directly from the [Document] by calling [Document.getElementById] function on every property access. Throws an exception if element is not found or has different type To access an element with theId ID use the following property declaration ``` val theID by document.gettingElementById ``` To access an element of specific type, just add it to the property declaration ``` val theID : HTMLImageElement by document.gettingElementById ``` see for more details: https://youtrack.jetbrains.com/issue/KT-32552
- Loading branch information