Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gbiellem/BlazingWaffles
Simple Blazor wrapper around the Waffle Generator
https://github.com/gbiellem/BlazingWaffles
Last synced: 12 days ago
JSON representation
Simple Blazor wrapper around the Waffle Generator
- Host: GitHub
- URL: https://github.com/gbiellem/BlazingWaffles
- Owner: gbiellem
- Created: 2018-08-08T00:41:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-28T11:18:55.000Z (6 months ago)
- Last Synced: 2024-05-01T12:34:19.250Z (6 months ago)
- Language: HTML
- Size: 693 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome-blazor - BlazingWaffles - ![last commit](https://img.shields.io/github/last-commit/gbiellem/BlazingWaffles?style=flat-square&cacheSeconds=86400) A Blazor app that wraps [Waffle Generator](https://github.com/SimonCropp/WaffleGenerator). The generator outputs readable gibberish that can be used in place of Lorum Ipsum. [Demo](http://wafflegen.azurewebsites.net/). (Sample Projects / Others)
README
[![Build status](https://ci.appveyor.com/api/projects/status/auc0ev6wgxs7dexo/branch/master?svg=true)](https://ci.appveyor.com/project/gbiellem/blazingwaffles/branch/master)
# BlazingWaffles
Blazor wrapper around the [Waffle Generator](https://github.com/SimonCropp/WaffleGenerator).
**See [Milestones](../../milestones?state=closed) for release notes.**
Site is live at http://wafflegen.azurewebsites.net
## Data Binding
Uses [Fody PropertyChanged](https://github.com/Fody/PropertyChanged) to implement INotifyPropertyChanged.
## Clipboard
Uses [TextCopy](https://github.com/CopyText/TextCopy) add content to the clipboard.
## Tests
Uses [bunit](https://bunit.egilhansen.com/) and [Verify](https://github.com/VerifyTests/Verify) to perform snapshot testing.
```cs
public class Tests
{
[Fact]
public Task Component()
{
var services = new ServiceCollection();
services.AddSingleton(new MockJSRuntime());
services.InjectMockClipboard();
using var provider = services.BuildServiceProvider();
var target = Render.Component(
provider,
template: new()
{
Waffle = "The Waffle",
Sha = "TheSha"
});
return Verify(target);
}
}
```
snippet source | anchor