You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/tag-transformation.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,12 +27,12 @@ However at the time of writing [vendor adoption is limited](https://caniuse.com/
27
27
28
28
Until scoped custom element registries are more widely supported, Stencil provides runtime tag transformation utilities for use when authoring and consuming web components.
29
29
30
-
## `setTagTransformer` and `tagTransform`
30
+
## `setTagTransformer` and `transformTag`
31
31
32
32
As of Stencil v4.39, Stencil makes available two utilities to help manage dynamic tag names:
33
33
34
34
1)`setTagTransformer` allows application developers (your component library consumers) to assign a tag transformer function.
35
-
2)`tagTransform` is mainly used *within* your component libraries - transforming any static string tag names using the tag transformer function assigned via `setTagTransformer` (Alternatively, you can auto apply `tagTransform` to all tag names via the [`extras.additionalTagTransformers` config option](#extrasadditionaltagtransformers).)
35
+
2)`transformTag` is mainly used *within* your component libraries - transforming any static string tag names using the tag transformer function assigned via `setTagTransformer` (Alternatively, you can auto apply `transformTag` to all tag names via the [`extras.additionalTagTransformers` config option](#extrasadditionaltagtransformers).)
Copy file name to clipboardExpand all lines: versioned_docs/version-v4.39/guides/tag-transformation.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,12 +27,12 @@ However at the time of writing [vendor adoption is limited](https://caniuse.com/
27
27
28
28
Until scoped custom element registries are more widely supported, Stencil provides runtime tag transformation utilities for use when authoring and consuming web components.
29
29
30
-
## `setTagTransformer` and `tagTransform`
30
+
## `setTagTransformer` and `transformTag`
31
31
32
32
As of Stencil v4.39, Stencil makes available two utilities to help manage dynamic tag names:
33
33
34
34
1)`setTagTransformer` allows application developers (your component library consumers) to assign a tag transformer function.
35
-
2)`tagTransform` is mainly used *within* your component libraries - transforming any static string tag names using the tag transformer function assigned via `setTagTransformer` (Alternatively, you can auto apply `tagTransform` to all tag names via the [`extras.additionalTagTransformers` config option](#extrasadditionaltagtransformers).)
35
+
2)`transformTag` is mainly used *within* your component libraries - transforming any static string tag names using the tag transformer function assigned via `setTagTransformer` (Alternatively, you can auto apply `transformTag` to all tag names via the [`extras.additionalTagTransformers` config option](#extrasadditionaltagtransformers).)
Copy file name to clipboardExpand all lines: versioned_docs/version-v4.40/guides/tag-transformation.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,12 +27,12 @@ However at the time of writing [vendor adoption is limited](https://caniuse.com/
27
27
28
28
Until scoped custom element registries are more widely supported, Stencil provides runtime tag transformation utilities for use when authoring and consuming web components.
29
29
30
-
## `setTagTransformer` and `tagTransform`
30
+
## `setTagTransformer` and `transformTag`
31
31
32
32
As of Stencil v4.39, Stencil makes available two utilities to help manage dynamic tag names:
33
33
34
34
1)`setTagTransformer` allows application developers (your component library consumers) to assign a tag transformer function.
35
-
2)`tagTransform` is mainly used *within* your component libraries - transforming any static string tag names using the tag transformer function assigned via `setTagTransformer` (Alternatively, you can auto apply `tagTransform` to all tag names via the [`extras.additionalTagTransformers` config option](#extrasadditionaltagtransformers).)
35
+
2)`transformTag` is mainly used *within* your component libraries - transforming any static string tag names using the tag transformer function assigned via `setTagTransformer` (Alternatively, you can auto apply `transformTag` to all tag names via the [`extras.additionalTagTransformers` config option](#extrasadditionaltagtransformers).)
0 commit comments