From e72c3a0b307e3bc4d8bed7dcebd2a3bad9941677 Mon Sep 17 00:00:00 2001 From: Hyyan Abo Fakher Date: Wed, 4 Dec 2024 11:33:26 +0100 Subject: [PATCH] Replace @AppLayout with @AppTitle (#372) --- docs/routing/navigational-frame-titles.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/routing/navigational-frame-titles.md b/docs/routing/navigational-frame-titles.md index ca48cd2c0..bd43182ce 100644 --- a/docs/routing/navigational-frame-titles.md +++ b/docs/routing/navigational-frame-titles.md @@ -35,7 +35,7 @@ In this example: This method is useful for routes that have a static title and don't require frequent updates based on the route’s context. :::tip `@AppTitle` and `@FrameTitle` -If the app title is set, the frame title will incorporate it. For example, if the app defines the title as `@AppTitle("webforJ")` and the frame title is set as `@FrameTitle("Dashboard")`, the final page title will be `Dashboard - webforJ`. You can customize the format of the final title in the `@AppLayout` annotation by using the `format` attribute if needed. +If the app title is set, the frame title will incorporate it. For example, if the app defines the title as `@AppTitle("webforJ")` and the frame title is set as `@FrameTitle("Dashboard")`, the final page title will be `Dashboard - webforJ`. You can customize the format of the final title in the `@AppTitle` annotation by using the `format` attribute if needed. ::: ## Dynamic frame titles @@ -70,4 +70,4 @@ In this example: :::tip Combining annotations and dynamic titles You can combine both static and dynamic methods. If a route component has both a `@FrameTitle` annotation and implements the `HasFrameTitle` interface, the dynamically provided title from `getFrameTitle()` will take precedence over the static value from the annotation. -::: \ No newline at end of file +:::