Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarfgp committed Dec 16, 2024
1 parent 203ab44 commit 51d2005
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 0 additions & 1 deletion extensions/Fabulous.Avalonia.Labs/Controls/AsyncImage.fs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ module AsyncImageBuilders =
static member AsyncImage(source: string) =
WidgetBuilder<'msg, IFabAsyncImage>(AsyncImage.WidgetKey, AsyncImage.Source.WithValue(Uri(source)))


type AsyncImageModifiers =
/// <summary>Sets the PlaceholderSource property.</summary>
/// <param name="this">Current widget.</param>
Expand Down
14 changes: 8 additions & 6 deletions extensions/Fabulous.Avalonia.Labs/README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
## Labs for Fabulous.Avalonia
## Fabulous.Avalonia.Labs

Avalonia has some experimental [packages](https://www.nuget.org/packages?q=Avalonia.Labs) that are not yet part of the main Avalonia project.
This repository contains the source code for the Fabulous.Avalonia.Labs package, which is a collection of experimental features that are not yet part of the main Fabulous.Avalonia package.
https://www.nuget.org/packages?q=Avalonia.Labs
Avalonia has some experimental [packages](https://www.nuget.org/packages?q=Avalonia.Labs) that are not yet part of the main Avalonia project and might or might not be included in the future.

This repository contains the source code for the Fabulous.Avalonia.Labs package, which is a collection of experimental controls so that you can use them in your Fabulous.Avalonia applications.

> NOTe: This package is not yet stable and is subject to change.
### How to use
- Add the `Fabulous.Avalonia.Labs` package to your project.
- Open `Fabulous.Avalonia` namespace at the top of the file.

### Features
### Controls

#### AsyncImage
```fsharp
HWrap() {
VStack() {
AsyncImage(ImageSource.fromString("avares://Gallery/Assets/Icons/fsharp-icon.png"))
AsyncImage("https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png")
Expand Down

0 comments on commit 51d2005

Please sign in to comment.