1e41f4b71Sopenharmony_ci# ElementName
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ciThe **ElementName** module provides element name information, which can be obtained through [Context.getElementName](js-apis-inner-app-context.md).
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci> **NOTE**
6e41f4b71Sopenharmony_ci>
7e41f4b71Sopenharmony_ci> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ci## ElementName<sup>(deprecated)</sup>
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ci> This API is deprecated since API version 9. You are advised to use [bundleManager-ElementName](js-apis-bundleManager-elementName.md) instead.
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ciDescribes the element name information, which identifies the basic information about an ability and is obtained through [Context.getElementName](js-apis-inner-app-context.md).
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ci**System capability**: SystemCapability.BundleManager.BundleFramework
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ci| Name                    | Type    | Read-Only| Optional| Description                      |
18e41f4b71Sopenharmony_ci| ----------------------- | ---------| ---- | ---- | ------------------------- |
19e41f4b71Sopenharmony_ci| deviceId                | string   | No  | Yes  | Device ID.                  |
20e41f4b71Sopenharmony_ci| bundleName              | string   | No  | No | Bundle name.         |
21e41f4b71Sopenharmony_ci| abilityName             | string   | No  | No | Ability name.              |
22e41f4b71Sopenharmony_ci| uri                     | string   | No  | Yes | Resource ID.                |
23e41f4b71Sopenharmony_ci| shortName               | string   | No  | Yes | Short name of the ability.              |
24