Home > @xoram/plugin-panoramique > ComponentDefinition > id
ComponentDefinition.id property
The unique string identifying the harness in the pinia store, unlike plugins it's not using a symbol
because the pinia dev tools don't show properties registered with a symbol
, and it's nice to be able to see the harness you registered.
Makes sure you use a unique string value for this field as duplicated entries will be ignored and a warning will be printed to the console for any subsequent registration attempt with a pre-existing id.
Signature:
typescript
id: identifier;
1