Returns the ID of a given element within a collection. Objects outside collections are not guaranteed to have IDs.
Usage | Returns |
---|---|
Image.id() | String |
Argument | Type | Details |
---|---|---|
this: element | Element | The element from which the ID is taken. |
Returns the ID of a given element within a collection. Objects outside collections are not guaranteed to have IDs.
Usage | Returns |
---|---|
Image.id() | String |
Argument | Type | Details |
---|---|---|
this: element | Element | The element from which the ID is taken. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-02-25 UTC.