Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

sp component base.basecomponent.componentid

John Nguyen edited this page Apr 22, 2021 · 2 revisions

Home > @microsoft/sp-component-base > BaseComponent > componentId

BaseComponent.componentId property

Returns the component identifier as defined in the component’s associated manifest.

Signature:

get componentId(): string;

Remarks

Each client-side component has an associated manifest that is used by the sp-loader to load its scripts, and which may include additional metadata about the component. The manifest is uniquely identified using a text string containing a lower case GUID value.

Clone this wiki locally