CanSelect 1.0.4
dotnet add package CanSelect --version 1.0.4
NuGet\Install-Package CanSelect -Version 1.0.4
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="CanSelect" Version="1.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CanSelect" Version="1.0.4" />
<PackageReference Include="CanSelect" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CanSelect --version 1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CanSelect, 1.0.4"
#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.
#:package CanSelect@1.0.4
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CanSelect&version=1.0.4
#tool nuget:?package=CanSelect&version=1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
can-select
![alternate text is missing from this package README image]()
Installation
npm
npm install @cancakar/can-select
pnpm
pnpm add @cancakar/can-select
nuget (for .NET projects)
dotnet add package CanSelect
Setup
ESM
import { CanSelect } from '@cancakar/can-select';
import "@cancakar/can-select/can-select.css" // or @import "@cancakar/can-select/can-select.css" in your css file
Browser
<link rel="stylesheet" href="can-select.css">
<script src="can-select.umd.js"></script>
CDN
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@cancakar/can-select/dist/can-select.min.css">
<script src="https://cdn.jsdelivr.net/npm/@cancakar/can-select/dist/can-select.umd.min.js"></script>
! Use a pinned version in production.
Usage
- Via
can-select-pickerclass
<select class="can-select-picker">
<option>Option 1</option>
<option>Option 2</option>
</select>
- Via JavaScript
const mySelectElement = document.getElementById('mySelectElementId');
new CanSelect(mySelectElement);
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.