• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# ElementName
2
3The **ElementName** module provides element name information, which can be obtained through [Context.getElementName](js-apis-inner-app-context.md).
4
5> **NOTE**
6>
7> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
8
9## ElementName
10
11**System capability**: SystemCapability.BundleManager.BundleFramework.Core
12
13| Name                    | Type    | Readable| Writable| Description                      |
14| ----------------------- | ---------| ---- | ---- | ------------------------- |
15| deviceId                | string   | Yes  | Yes  | Device ID.                  |
16| bundleName              | string   | Yes  | Yes  | Bundle name.         |
17| abilityName             | string   | Yes  | Yes  | Name of the ability.              |
18| uri                     | string   | Yes  | Yes  | Resource ID.                |
19| shortName               | string   | Yes  | Yes  | Short name of the ability.              |
20| moduleName              | string   | Yes  | Yes  | Module name of the HAP file to which the ability belongs.  |
21