Skip to content

Commit

Permalink
Update broken references (#923)
Browse files Browse the repository at this point in the history
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
  • Loading branch information
emmanuel-ferdman authored Nov 20, 2024
1 parent 05b221d commit 94ea2ad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/todomvc/src/jsMain/resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<footer class="info">
<p>Double-click to edit a todo</p>
<p>Source at <a
href="https://github.com/jwstegemann/fritz2/blob/master/examples/todomvc/src/jsMain/kotlin/dev/fritz2/examples/todomvc/todomvc.kt">github</a>
href="https://github.com/jwstegemann/fritz2/blob/master/examples/todomvc/src/jsMain/kotlin/dev/fritz2/examples/todomvc/TodoMvc.kt">github</a>
</p>
<!-- Change this out with your name and url ↓ -->
<p>Created by <a href="https://github.com/jwstegemann/fritz2">jwstegemann & jamowei</a></p>
Expand Down
2 changes: 1 addition & 1 deletion www/src/blog/posts/paradigm-shift-for-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ In addition, one would still have to style each building block accordingly withi
and fully functional surface unit, which was omitted here for reasons of space and simplicity. In principle, one injects
the styling into the function block as the first parameter, analogous to the known tag factory functions. The source
code of
the [example for a RadioGroup](https://github.com/jwstegemann/fritz2/blob/master/headless-demo/src/jsMain/kotlin/dev/fritz2/headlessdemo/radioGroup.kt)
the [example for a RadioGroup](https://github.com/jwstegemann/fritz2/blob/master/headless-demo/src/jsMain/kotlin/dev/fritz2/headlessdemo/components/RadioGroup.kt)
from the `headless-demo` project clearly shows that the styling specifications make the whole thing only slightly more
complex.

Expand Down
4 changes: 2 additions & 2 deletions www/src/pages/docs/45_EventHandling.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ eleventyNavigation:

In fritz2, all HTML-Events are either encapsulated within a `Tag`-scope or within the special `Window`-object, which both
offer access to all global events. A complete list can be found in the
[events.kt](https://github.com/jwstegemann/fritz2/blob/master/core/src/jsMain/kotlin/dev/fritz2/core/events.kt) file.
[Events.kt](https://github.com/jwstegemann/fritz2/blob/master/core/src/jsMain/kotlin/dev/fritz2/core/Events.kt) file.

The most important aspect to understand is that an event in fritz2 is just a type derived by `Flow`. You can
use all events as the source of an action which should be handled by a handler-function.
Expand Down Expand Up @@ -452,4 +452,4 @@ div {
// based upon any other `Flow`-source`
}
}
```
```

0 comments on commit 94ea2ad

Please sign in to comment.