@aurodesignsystem-dev/auro-hyperlink 0.0.0-pr322.1 → 0.0.0-pr328.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -21,7 +21,7 @@ The following sections are editable by making changes to the following files:
21
21
 
22
22
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/description.md) -->
23
23
  <!-- The below content is automatically added from ./docs/partials/description.md -->
24
- `<auro-hyperlink>` is a wrapper components for an HTML `<a>` element containing styling and behavior.
24
+ The `<auro-hyperlink>` element is a wrapper element for an HTML `<a>` element containing styling and behavior.
25
25
  <!-- AURO-GENERATED-CONTENT:END -->
26
26
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/readmeAddlInfo.md) -->
27
27
  <!-- The below content is automatically added from ./docs/partials/readmeAddlInfo.md -->
@@ -101,8 +101,17 @@ However, if you need to load multiple versions of the same component on a single
101
101
  You can do this by importing only the component class and using the `register(name)` method with a unique name:
102
102
 
103
103
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/customRegistration.md) -->
104
- <!-- The below content is automatically added from ./docs/partials/customRegistration.md -->
105
- <!-- add custom registration content here -->
104
+ <!-- The below content is automatically added from ./docs/partials/customRegistration.md -->
105
+
106
+ ```js
107
+ // Import the class only
108
+ import { AuroHyperlink } from '@aurodesignsystem/auro-hyperlink/class';
109
+
110
+ // Register with a custom name if desired
111
+ AuroHyperlink.register('custom-hyperlink');
112
+ ```
113
+
114
+ This will create a new custom element `<custom-hyperlink>` that behaves exactly like `<auro-hyperlink>`, allowing both to coexist on the same page without interfering with each other.
106
115
  <!-- AURO-GENERATED-CONTENT:END -->
107
116
  <div class="exampleWrapper exampleWrapper--flex">
108
117
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./apiExamples/custom.html) -->