KXB.Spark.Slider 0.0.1

There is a newer version of this package available.
See the version list below for details.

Requires NuGet 3.6 or higher.

dotnet add package KXB.Spark.Slider --version 0.0.1
NuGet\Install-Package KXB.Spark.Slider -Version 0.0.1
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="KXB.Spark.Slider" Version="0.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KXB.Spark.Slider --version 0.0.1
#r "nuget: KXB.Spark.Slider, 0.0.1"
#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 KXB.Spark.Slider as a Cake Addin
#addin nuget:?package=KXB.Spark.Slider&version=0.0.1

// Install KXB.Spark.Slider as a Cake Tool
#tool nuget:?package=KXB.Spark.Slider&version=0.0.1


version: 0.0.1 - prealfa


  • requires jquery version 1.x.y
  • slick.
  • bulma

Example setup:

css at start of head.
@* Add slick css *@<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick.css" /><link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick-theme.css" /> 


javascript at end of closing bodytag
<script type="text/javascript" src="https://code.jquery.com/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick.min.js"></script>   


in viewfile

@ {

   var slider = new Slider();
        slider.settings.arrows = false;

        slider.Slides.Add(new KXB.Spark.Hero.Models.Hero { Title = new HtmlString("hei"), Overlay=true, Size=Hero.Models.HeroSize.Large, Content= new HtmlString("blablabla") });
        slider.Slides.Add(new KXB.Spark.Hero.Models.Hero { Title = new HtmlString("pƄ"), Overlay = true, Size = Hero.Models.HeroSize.Large, BackgroundImageUrl = "http://www.hansa-tankers.com/customers/hansatankers/img/cache/1920x590/80/crop/53facd6bd7b93.jpg?1414418118" });
        slider.Slides.Add(new KXB.Spark.Hero.Models.Hero { Title = new HtmlString("deg!"), Overlay = true, Size = Hero.Models.HeroSize.Large,  BackgroundImageUrl = "https://i.ytimg.com/vi/6ABOKRQkpWE/hqdefault.jpg"});
<section class="section--slider">@Html.Partial("~/KXB.Spark/Views/_Slider.cshtml", slider)</section>

Settings properties are breaking the C# convention by using lowercase names. This is mapping the names used in the slick documentation.

This decision may be rewised in the next release.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.2 1,106 3/5/2018
0.0.1 917 3/5/2018

Working version that requires to manually install jquery and slick from cdn.