Skip to content

Commit 3bba4b8

Browse files
janechuCopilot
andcommitted
fix: replace remaining {@link enableHydration} with plain text
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent f37bd8d commit 3bba4b8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/fast-element/src/declarative/template.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ class TemplateElement extends FASTElement implements TemplatePublisher {
218218
/**
219219
* Configure lifecycle callbacks for hydration events.
220220
*
221-
* @deprecated Use {@link enableHydration} for global hydration events
221+
* @deprecated Use `enableHydration()` for global hydration events
222222
* and pass per-element callbacks to {@link declarativeTemplate} instead.
223223
*
224224
* @param callbacks - Lifecycle callbacks to configure.

sites/website/src/docs/3.x/api/fast-element/declarative/fast-element.templateelement.config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ navigationOptions:
1717

1818
> Warning: This API is now obsolete.
1919
>
20-
> Use for global hydration events and pass per-element callbacks to [declarativeTemplate()](../fast-element.declarativetemplate/) instead.
20+
> Use `enableHydration()` for global hydration events and pass per-element callbacks to [declarativeTemplate()](../fast-element.declarativetemplate/) instead.
2121
>
2222
2323
Configure lifecycle callbacks for hydration events.

0 commit comments

Comments
 (0)