PSC.Blazor.Components.Timeline
6.0.8
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package PSC.Blazor.Components.Timeline --version 6.0.8
NuGet\Install-Package PSC.Blazor.Components.Timeline -Version 6.0.8
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PSC.Blazor.Components.Timeline" Version="6.0.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PSC.Blazor.Components.Timeline --version 6.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PSC.Blazor.Components.Timeline, 6.0.8"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PSC.Blazor.Components.Timeline as a Cake Addin #addin nuget:?package=PSC.Blazor.Components.Timeline&version=6.0.8 // Install PSC.Blazor.Components.Timeline as a Cake Tool #tool nuget:?package=PSC.Blazor.Components.Timeline&version=6.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Timeline for Blazor
This is a new component for Blazor WebAssembly and Blazor Server. The components is build with .NET6.
The timeline is responsive and easy to customize. The Timeline
is configuration with the colors, icon and HTML code. Each TimelineItem
has properties for changing colors and more features.
Usage
1. Install
This component is a Nuget package available from this link.
2. Add using to your project.
@using PSC.Blazor.Components.Timeline
@using PSC.Blazor.Components.Timeline.Enums
3. Example code
@using PSC.Blazor.Components.Timeline
<Timeline ItemPositionOption="@ItemPositionOption.Manual">
<TimelineItem Title="Start here" Time="@DateTime.Now.ToString("dd/MM/yyyy")"
ButtonText="PureSourceCode.com" Link="https://www.puresourcecode.com">
Here you can write some text. The <code>TimelineItem</code> has
the property for adding a button called <code>ButtonText</code>
and you can add a link with <code>Link</code>.
</TimelineItem>
<TimelineItem Title="Custom content" Position="ItemPosition.Right" Icon="Icon.UserTime">
<span>
<code>TimelineItem</code> can be altered to appear on the right!
Also, you can use the default icon or
use one of the embedded icons with <code>Icon</code>.
</span>
<span>You can add images or any other HTML code</span> <br />
<img src="/psc_logo.png" style="max-width: 100%;" />
</TimelineItem>
<TimelineItem Title="Documentation" Icon="Icon.Timeline"
ButtonText="Documentation" Link="https://www.puresourcecode.com">
<span>
Now, visit the page with the documentation and same examples.
</span>
</TimelineItem>
<TimelineItem TitleBackgroundColor="#70b0ff" TextBackgroundColor="#ffffff"
Title="Forum" Icon="Icon.ReminderClock" ButtonText="Forum"
Link="https://www.puresourcecode.com">
<span>
Use the forum to send your comment or submit your questions.
</span>
</TimelineItem>
</Timeline>
Timeline properties and methods
Timeline properties
Name | Description | |
---|---|---|
ChildContent | Gets or sets the content of the child. | |
ItemPositionOption | Should items be altered automatically or manual. | |
TextBgColor | Description background color. | |
TextColor | Description text color. | |
Title | Timeline title which will be displayed above. | |
TitleBgColor | Background color for title section. | |
TitleColor | Text color for title section. |
Timeline item properties
Name | Description | |
---|---|---|
ButtonText | Gets or sets the button text. | |
ChildContent | Gets or sets the content of the child. | |
Icon | Gets or sets the icon. | |
IconContent | Gets or sets the content of the icon. | |
Link | Gets or sets the link. | |
Position | Gets or sets the position. | |
TextBackgroundColor | Gets or sets the color of the text background. | |
Time | Gets or sets the time. | |
Timeline | Gets or sets the timeline. | |
Title | Title for timeline item | |
TitleBackgroundColor | Gets or sets the color of the back ground. |
Timeline Icon embedded
- Clock
- ClockDateTime
- Default
- DigitalNumber0
- DigitalNumber1
- DigitalNumber2
- DigitalNumber3
- DigitalNumber4
- DigitalNumber5
- DigitalNumber6
- DigitalNumber7
- DigitalNumber8
- DigitalNumber9
- HourGlass
- HourGlassOld
- ReminderClock
- SandClock
- Timeline
- UserTime
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Microsoft.AspNetCore.Components.Web (>= 6.0.11)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.