BlazorComponents_Initial_Release 1.0.0

Package Description

Install-Package BlazorComponents_Initial_Release -Version 1.0.0
dotnet add package BlazorComponents_Initial_Release --version 1.0.0
<PackageReference Include="BlazorComponents_Initial_Release" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BlazorComponents_Initial_Release --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

License

Blazor Components Open Source Repository

I encourage anybody to contribute and use this code here.

This repository comprises simply of custom controls and components that I have created for use in my own work.

da

Features

Date Time Picker

  • Ability to manually enter date
  • Ability to select date from drop down
  • Ability to hook into DateChanged event/action
  • Ability to specify DateTimeFormat as parameter (default set as "dd/MM/yyyy")

Example Implementation

@using BlazorComponents.Components

<!-- Vanilla Implementation -->
<DateTimePicker />

<!-- Date Time format "if ya nasty" Implementation -->
<DateTimePicker DateTimeStringFormat="MM/dd/yy" />

<!-- Will stop the Tile window closing after selecting a date -->
<DateTimePicker CloseDateTileWindow="false"/>

Example Event Handling

HTML/Razor

@page "/"
@inherits TestPageBase
@using BlazorComponents.Components

<DateTimePicker DateChanged=@HandleDateChanged/>

C#

public class TestPageBase : ComponentBase
{
    public void HandleDateChanged(DateTime date)
    {
        //do stuff;
    }
}

License

Blazor Components Open Source Repository

I encourage anybody to contribute and use this code here.

This repository comprises simply of custom controls and components that I have created for use in my own work.

da

Features

Date Time Picker

  • Ability to manually enter date
  • Ability to select date from drop down
  • Ability to hook into DateChanged event/action
  • Ability to specify DateTimeFormat as parameter (default set as "dd/MM/yyyy")

Example Implementation

@using BlazorComponents.Components

<!-- Vanilla Implementation -->
<DateTimePicker />

<!-- Date Time format "if ya nasty" Implementation -->
<DateTimePicker DateTimeStringFormat="MM/dd/yy" />

<!-- Will stop the Tile window closing after selecting a date -->
<DateTimePicker CloseDateTileWindow="false"/>

Example Event Handling

HTML/Razor

@page "/"
@inherits TestPageBase
@using BlazorComponents.Components

<DateTimePicker DateChanged=@HandleDateChanged/>

C#

public class TestPageBase : ComponentBase
{
    public void HandleDateChanged(DateTime date)
    {
        //do stuff;
    }
}

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 145 11/5/2019