arivera12 / BlazorCurrentDevice

Device detection for blazor using current-device.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create demo project

arivera12 opened this issue · comments

Include .gif image with demo in readme.md

A demo project showing all the options would be just perfect.
Thank you!

@colinbracey I added demo project, documentation and migrated to interface based service.

NOTE: Upgrade your package to latest version: Install-Package BlazorCurrentDevice -Version 1.0.6

Breaking Changes: Change BlazorCurrentDeviceService to IBlazorCurrentDeviceService.

I also added .gif of the demo on the main repository page.

Please read the main page again for more info.

A demo project showing all the options would be just perfect.
Thank you!

Looking at your code you send me on the email you missed the await operator.

var p = await BlazorCurrentDeviceService.OS();
Or
var x = await BlazorCurrentDeviceService.Type();