Skip to content

Commit 7d587bf

Browse files
committed
#6703 formatting
1 parent 9e4f396 commit 7d587bf

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

learn/benefits/ConfigSystem.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -511,16 +511,12 @@ class ViewportController extends Controller {
511511
In this `ViewportController`'s `static config`:
512512
513513
* The `routes` object maps URL hash patterns (keys) to controller method names (values).
514-
515514
* For example, when the browser's hash changes to `#/home`, the `onHomeRoute` method within `ViewportController` is automatically invoked.
516-
517515
* Routes can include dynamic parameters using curly braces, like `/examples/{itemId}`. When such a route is matched
518516
(e.g., `#/examples/my-component`), the `onExamplesRoute` method will be called, and the `itemId` value (`my-component`)
519517
will be passed as a parameter to the method.
520-
521518
* This declarative setup centralizes your application's routing logic, making it easy to understand the application's
522519
navigation paths and their corresponding actions at a glance.
523-
524520
* The controller methods, such as `onHomeRoute`, then typically manage the application's UI state based on the route,
525521
for instance, by setting the `activeIndex` of a card layout container to display the correct view:
526522

0 commit comments

Comments
 (0)