Mint.Hardware.Temperature.Dht22
by: Mint.Hardware.Temperature.Dht22
- 43 total downloads
- Latest version: 1.0.4
Package Description
Mint.Hardware.UserScales.Magellan9300Scales
by: Mint.Hardware.UserScales.Magellan9300Scales
- 2 total downloads
- Latest version: 1.0.1
User scales Magellan 9300
Mint.Hardware.VendingPusher
by: Mint.Hardware.VendingPusher
- 86 total downloads
- Latest version: 0.1.2
Project for comunication with vending pusher hardware controllers
Mint.Hardware.VOCSensor
by: Mint.Hardware.VOCSensor
- 13 total downloads
- Latest version: 1.0.0
Project for comunication with voc sensor (temperature and humidity)
Mint.ScreenRotation
by: Mint.ScreenRotation
- 78 total downloads
- Latest version: 1.0.2
Mint.ScreenRotation
Usage
Windows
For windows important parameters are:
'DisplayIndex' (Note: Windows remember all displays which was connected recently, check correct index!)
'Degree' (Note: Rotation degree)
Example for one time usage on startup
var result = Worker.Rotate(new Config
{
Degree = DegreeEnum.D0,
DisplayIndex = 5
});
When 'result' equals 'false' parameters invalid
Example for run with period (in seconds) on project startup
Worker.Rotate(new Config
{
Degree = DegreeEnum.D0,
DisplayIndex = 5
}, 5);
Second parameter in seconds
Linux
For windows important parameters are:
'Degree' (Note: Rotation degree)
'DisplayName' (Note: display name cmd 'xrandr')
'TouchName' (Note: touch name cmd 'xinput')
'TouchParam' (Note: touch parameter name for rotation matrix)
Mint.SelfCheckout.Entities
by: Mint.SelfCheckout.Entities
- 101 total downloads
- Latest version: 1.0.9
Self checkout shared entities
Mint.SelfCheckout.License.Core
by: Mint.SelfCheckout.License.Core
- 75 total downloads
- Latest version: 1.0.1
Self checkout license core
Mint.Software.Blazor.Carousel.Pack
by: Mint.Software.Blazor.Carousel
- 69 total downloads
- Latest version: 1.0.3
# Mint.Software.Blazor.Carousel
###### Basic usage
Add a reference to your project, referencing the 'Components' project
In your _Host.cshtml file add the following line to use the default stylesheet:
"<link href="_content/Mint.Software.Blazor.Carousel.Pack/blazor_carousel.css" rel="stylesheet" />"
Add the component to your Razor page using the following lines:
@using Components;
Mint.Software.Blazor.Chart.Pack
by: Mint.Software.Blazor.Chart
- 78 total downloads
- Latest version: 1.0.3
# Mint.Software.Blazor.Chart
Blazor library that wraps Chart.js
## Usage
### Assets
Before you can start creating a chart, you have to add some static assets to your project.
In your `_Host.cshtml` (server-side) or in your `index.html` (client-side) add the following lines to the `body` tag **after** the `_framework` reference.
```html
<script src="https://cdn.jsdelivr.net/npm/chart.js@2.9.4/dist/Chart.min.js"></script>
<!-- This is the glue between Blazor and Chart.js -->
<script src="_content/ChartJs.Blazor.Fork/ChartJsBlazorInterop.js"></script>
```
If you are using a time scale (`TimeAxis`), you also need to include Moment.js **before** including Chart.js.
```html
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js"></script>
```njs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js"></script>
### Imports
Now add a reference to `ChartJs.Blazor` in your `_Imports.razor`.
```csharp
@using Mint.Software.Blazor.Chart;
```
Other commonly used namespaces which you might want to import globally are:
- `@using Mint.Software.Blazor.Chart.Common`
- `@using Mint.Software.Blazor.Chart.Common.Axes`
- `@using Mint.Software.Blazor.Chart.Common.Axes.Ticks`
- `@using Mint.Software.Blazor.Chart.Common.Enums`
- `@using Mint.Software.Blazor.Chart.Common.Handlers`
- `@using Mint.Software.Blazor.Chart.Common.Time`
- `@using Mint.Software.Blazor.Chart.Util`
- `@using Mint.Software.Blazor.Chart.Interop`
### Chart
```csharp
private PieConfig _config;
protected override void OnInitialized()
{
_config = new PieConfig
{
Options = new PieOptions
{
Responsive = true,
Title = new OptionsTitle
{
Display = true,
Text = "ChartJs.Blazor Pie Chart"
}
}
};
foreach (string color in new[] { "Red", "Yellow", "Green", "Blue" })
{
_config.Data.Labels.Add(color);
}
PieDataset<int> dataset = new PieDataset<int>(new[] { 6, 5, 3, 7 })
{
BackgroundColor = new[]
{
ColorUtil.ColorHexString(255, 99, 132), // Slice 1 aka "Red"
ColorUtil.ColorHexString(255, 205, 86), // Slice 2 aka "Yellow"
ColorUtil.ColorHexString(75, 192, 192), // Slice 3 aka "Green"
ColorUtil.ColorHexString(54, 162, 235), // Slice 4 aka "Blue"
}
};
_config.Data.Datasets.Add(dataset);
}
```
Mint.Software.Blazor.DisplaySettings
by: Mint.Software.Blazor.DisplaySettings
- 181 total downloads
- Latest version: 1.0.13
Package Description
Mint.Software.Blazor.Grid
by: Mint.Software.Blazor.Grid
- 1.332k total downloads
- Latest version: 3.0.0.47
Mint.Software.Blazor.Grid
How to use?
1. In _Host.cshtml
<link rel="stylesheet" href="//code.jquery.com/ui/1.13.1/themes/base/jquery-ui.css">
<script src="https://code.jquery.com/jquery-3.6.0.js"></script>
<script src="https://code.jquery.com/ui/1.13.1/jquery-ui.js"></script>
<script src="_content/Mint.Software.Blazor.Grid/gridUtil.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/i18n/jquery-ui-i18n.min.js"></script>
2. In page
@using Mint.Software.Blazor.Grid
3. In Startup
services.AddDataGridServices();
Mint.Software.Blazor.Grid.Ext
by: Mint.Software.Blazor.Grid.Ext
- 287 total downloads
- Latest version: 2.0.0.13
Mint.Software.Blazor.Grid.Ext
How to use?
1. In _Host.cshtml
<link rel="stylesheet" href="//code.jquery.com/ui/1.13.1/themes/base/jquery-ui.css">
<script src="https://code.jquery.com/jquery-3.6.0.js"></script>
<script src="https://code.jquery.com/ui/1.13.1/jquery-ui.js"></script>
<script src="_content/Mint.Software.Blazor.Grid.Ext/gridUtil.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/i18n/jquery-ui-i18n.min.js"></script>
2. In page
@using Mint.Software.Blazor.Grid.Ext
3. In Startup
services.AddDataGridServices();
Mint.Software.Blazor.Grid.Models
by: Mint.Software.Blazor.Grid.Models
- 672 total downloads
- Latest version: 2.0.1
Package Description
Mint.Software.Blazor.InputMask
by: Mint.Software.Blazor.InputMask
- 55 total downloads
- Latest version: 1.0.0
Use this params to set needed val
[Parameter] public string TagClass { get; set; }
[Parameter] public string TagName { get; set; }
[Parameter] public string TagType { get; set; }
[Parameter] public string CustomTagPlaceholder { get; set; } = string.Empty;
[Parameter] public bool UseMaskPlaceholder { get; set; }
[Parameter] public string InputMask { get; set; }
[Parameter] public EventCallback<string> BindValue { get; set; }
InputMask -- REQUIRED
use BindValue to get returned value
Include it in _Host @Html.UseMask()
Mint.Software.Blazor.InputMask.Phone
by: Mint.Software.Blazor.InputMask.Phone
- 67 total downloads
- Latest version: 1.1.0
Example '<PhoneInput Value="@_value" OnChanged="@OnChange"></PhoneInput>'
Mint.Software.Blazor.Keyboard
by: Mint.Software.Blazor.Keyboard
- 509 total downloads
- Latest version: 1.2.13
Package Description
Mint.Software.Blazor.Loader
by: Mint.Software.Blazor.Loader
- 356 total downloads
- Latest version: 8.0.0
Package Description
Mint.Software.Blazor.LoadIndicator
by: Mint.Software.Blazor.LoadIndicator
- 141 total downloads
- Latest version: 1.0.0
# Mint.Software.Blazor.LoadIndicator
**How to use:**
1. add to startup `services.AddLoadIndicator();`
2. add to _Import `@using Mint.Software.Blazor.LoadIndicator`
**To call on page**
1. add `[Inject] private IIndicatorService IndicatorService { get; set; }`
2. tag `<Indicator IndicatorContext="{{indicator-name}}"> {{content}} </Indicator>`
3. in code
` await IndicatorService.StartTaskAsync(async (task) =>
{
here write methods that you want wait with loader
}, "{{indicator-name}}");`
Mint.Software.Blazor.LoadIndicatorLite
by: Mint.Software.Blazor.LoadIndicatorLite
- 261 total downloads
- Latest version: 3.0.0.1
# Mint.Software.Blazor.LoadIndicatorLite
**How to use:**
1. add to startup `services.AddLoadIndicatorLoadIndicatorLite();`
2. add to _Import `@using Mint.Software.Blazor.LoadIndicatorLite`
**To call on page**
1. add `[Inject] private IIndicatorService IndicatorService { get; set; }`
2. tag `<Indicator Name="{{indicator-name}}"> {{content}} </Indicator>`
3. in code
` await IndicatorService.StartTaskAsync(async (task) =>
{
here write methods that you want wait with loader
}, "{{indicator-name}}");`
Mint.Software.Blazor.LocalizationFix
by: Mint.Software.Blazor.LocalizationFix
- 232 total downloads
- Latest version: 1.0.0
Package Description