Bit.Butil 9.6.0-pre-13

This is a prerelease version of Bit.Butil.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Bit.Butil --version 9.6.0-pre-13
                    
NuGet\Install-Package Bit.Butil -Version 9.6.0-pre-13
                    
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="Bit.Butil" Version="9.6.0-pre-13" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bit.Butil" Version="9.6.0-pre-13" />
                    
Directory.Packages.props
<PackageReference Include="Bit.Butil" />
                    
Project file
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 Bit.Butil --version 9.6.0-pre-13
                    
#r "nuget: Bit.Butil, 9.6.0-pre-13"
                    
#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.
#addin nuget:?package=Bit.Butil&version=9.6.0-pre-13&prerelease
                    
Install Bit.Butil as a Cake Addin
#tool nuget:?package=Bit.Butil&version=9.6.0-pre-13&prerelease
                    
Install Bit.Butil as a Cake Tool

bit Butil

bit Blazor Utilities for JavaScript


To start using Butil you first need to install the NuGet package:

dotnet add package Bit.Butil

then add its script tag to your app:

<script src="_content/Bit.Butil/bit-butil.js"></script>

you also need to add its services like this:

using Bit.Butil;

...

builder.Services.AddBitButilServices();

...

Now you can inject its classes to use the utilities.

Window

To use a representation of the DOM's window object in C# you can inject the Bit.Butil.Window class:

@inject Bit.Butil.Window window

...

@code {

    ...

    await window.AddEventListener(ButilEvents.KeyDown, args => { ... });

    ...
}

Document

To use a representation of the DOM's document object in C# you can inject the Bit.Butil.Document class:

@inject Bit.Butil.Document document

...

@code {

    ...

    await document.AddEventListener(ButilEvents.Click, args => { ... });

    ...
}

Keyboard

In Butil there is a special class to work with keyboard and short keys. you can use this class by inejcting the Bit.Butil.Keyboard class:

@inject Bit.Butil.Keyboard keyboard

...

@code {
    ...

    await keyboard.Add("F10", args => { ... }, , ButilModifiers.Alt | ButilModifiers.Ctrl);

    ...
}

Console

To use the browser console features you can try injecting the Bit.Butil.Console class like this:

@inject Bit.Butil.Console console

...

@code {
    ...

    console.Log("This is a test log:", someValue);
    console.Assert(condition, "The condition failed!", testedValue);
    console.Error("This is a test error:", value);

    ...
}
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Bit.Butil:

Repository Stars
bitfoundation/bitplatform
Build all of your apps using what you already know and love ❤️
Version Downloads Last updated
9.6.1 83 3/29/2025
9.6.1-pre-02 108 3/28/2025
9.6.1-pre-01 81 3/28/2025
9.6.0 530 3/26/2025
9.6.0-pre-14 417 3/26/2025
9.6.0-pre-13 423 3/26/2025
9.6.0-pre-12 124 3/21/2025
9.6.0-pre-11 336 3/15/2025
9.6.0-pre-10 108 3/14/2025
9.6.0-pre-08 314 3/11/2025
9.6.0-pre-07 186 3/10/2025
9.6.0-pre-06 219 3/8/2025
9.6.0-pre-05 459 3/5/2025
9.6.0-pre-04 220 3/5/2025
9.6.0-pre-03 335 3/2/2025
9.6.0-pre-02 160 3/1/2025
9.6.0-pre-01 130 3/1/2025
9.5.1 410 2/27/2025
9.5.1-pre-04 98 2/27/2025
9.5.1-pre-03 113 2/27/2025
9.5.1-pre-02 119 2/26/2025
9.5.1-pre-01 96 2/25/2025
9.5.0 156 2/24/2025
9.5.0-pre-05 122 2/24/2025
9.5.0-pre-04 302 2/22/2025
9.5.0-pre-03 98 2/22/2025
9.5.0-pre-02 403 2/20/2025
9.5.0-pre-01 103 2/20/2025
9.4.2-pre-04 164 2/18/2025
9.4.2-pre-03 163 2/17/2025
9.4.2-pre-02 218 2/16/2025
9.4.2-pre-01 436 2/12/2025
9.4.1 706 2/8/2025
9.4.1-pre-01 104 2/8/2025
9.4.0 147 2/8/2025
9.4.0-pre-05 108 2/8/2025
9.4.0-pre-04 136 2/7/2025
9.4.0-pre-03 146 2/6/2025
9.4.0-pre-02 164 2/2/2025
9.4.0-pre-01 96 2/1/2025
9.3.1-pre-05 575 1/26/2025
9.3.1-pre-04 529 1/23/2025
9.3.1-pre-03 247 1/19/2025
9.3.1-pre-02 72 1/18/2025
9.3.1-pre-01 182 1/14/2025
9.3.0 1,069 1/11/2025
9.3.0-pre-01 70 1/11/2025
9.2.1 610 1/5/2025
9.2.1-pre-02 208 1/4/2025
9.2.1-pre-01 231 1/3/2025
9.2.0 175 1/1/2025
9.2.0-pre-04 84 1/1/2025
9.2.0-pre-03 105 12/31/2024
9.2.0-pre-02 178 12/31/2024
9.2.0-pre-01 86 12/30/2024
9.1.2 606 12/24/2024
9.1.2-pre-01 97 12/23/2024
9.1.1 520 12/15/2024
9.1.1-pre-01 92 12/15/2024
9.1.0 144 12/14/2024
9.1.0-pre-13 105 12/13/2024
9.1.0-pre-12 93 12/13/2024
9.1.0-pre-11 80 12/13/2024
9.1.0-pre-10 191 12/10/2024
9.1.0-pre-09 171 12/6/2024
9.1.0-pre-08 268 12/2/2024
9.1.0-pre-07 86 12/2/2024
9.1.0-pre-06 73 12/2/2024
9.1.0-pre-05 170 12/1/2024
9.1.0-pre-04 112 11/29/2024
9.1.0-pre-03 738 11/25/2024
9.1.0-pre-02 163 11/24/2024
9.1.0-pre-01 90 11/23/2024
9.0.1 475 11/20/2024
9.0.0 234 11/18/2024
9.0.0-pre-02 86 11/18/2024
9.0.0-pre-01 229 11/15/2024
8.12.0 470 11/12/2024
8.12.0-pre-15 156 11/11/2024
8.12.0-pre-14 118 11/11/2024
8.12.0-pre-13 141 11/11/2024
8.12.0-pre-12 125 11/10/2024
8.12.0-pre-11 119 11/9/2024
8.12.0-pre-10 295 11/5/2024
8.12.0-pre-09 95 11/5/2024
8.12.0-pre-08 278 11/1/2024
8.12.0-pre-07 290 10/27/2024
8.12.0-pre-06 202 10/24/2024
8.12.0-pre-05 144 10/21/2024
8.12.0-pre-04 134 10/20/2024
8.12.0-pre-03 646 10/6/2024
8.12.0-pre-02 167 10/2/2024
8.12.0-pre-01 126 9/29/2024
8.11.1-pre-04 150 9/27/2024
8.11.1-pre-03 118 9/26/2024
8.11.1-pre-02 284 9/22/2024
8.11.1-pre-01 174 9/19/2024
8.11.0 482 9/16/2024
8.11.0-pre-09 126 9/15/2024
8.11.0-pre-08 167 9/13/2024
8.11.0-pre-07 160 9/10/2024
8.11.0-pre-06 242 9/4/2024
8.11.0-pre-05 142 9/3/2024
8.11.0-pre-04 341 8/22/2024
8.11.0-pre-03 169 8/21/2024
8.11.0-pre-02 189 8/19/2024
8.11.0-pre-01 227 8/16/2024
8.10.0 603 8/8/2024
8.10.0-pre-05 155 8/4/2024
8.10.0-pre-04 78 8/3/2024
8.10.0-pre-03 1,006 6/26/2024
8.10.0-pre-02 123 6/26/2024
8.10.0-pre-01 113 6/25/2024
8.9.0 1,366 6/9/2024
8.9.0-pre-04 104 6/9/2024
8.9.0-pre-03 195 6/6/2024
8.9.0-pre-02 265 5/31/2024
8.9.0-pre-01 129 5/28/2024
8.8.2-pre-05 160 5/27/2024
8.8.2-pre-04 110 5/26/2024
8.8.2-pre-03 140 5/23/2024
8.8.2-pre-02 337 5/9/2024
8.8.2-pre-01 213 5/1/2024
8.8.1 3,382 4/13/2024
8.8.1-pre-02 95 4/12/2024
8.8.1-pre-01 138 4/12/2024
8.8.0 609 4/1/2024
8.8.0-pre-04 161 3/29/2024
8.8.0-pre-03 265 3/16/2024
8.8.0-pre-02 197 3/10/2024
8.8.0-pre-01 291 2/27/2024
8.7.6 1,797 2/23/2024
8.7.6-pre-08 221 2/23/2024
8.7.6-pre-07 132 2/21/2024
8.7.6-pre-06 115 2/21/2024
8.7.6-pre-05 130 2/18/2024
8.7.6-pre-04 137 2/14/2024
8.7.6-pre-03 106 2/14/2024
8.7.6-pre-02 96 2/14/2024
8.7.6-pre-01 109 2/12/2024
8.7.5 213 2/9/2024
8.7.5-pre-04 141 2/3/2024
8.7.5-pre-03 145 1/29/2024
8.7.5-pre-02 135 1/25/2024
8.7.5-pre-01 113 1/24/2024
8.7.4 403 1/23/2024
8.7.3-pre-02 147 1/22/2024
8.7.3-pre-01 244 1/20/2024
8.7.2 226 1/17/2024
8.7.2-pre-02 143 1/17/2024
8.7.2-pre-01 238 1/11/2024
8.7.1 317 1/9/2024
8.7.0 243 1/8/2024
8.7.0-pre-05 161 1/7/2024
8.7.0-pre-04 211 1/5/2024
8.7.0-pre-03 128 1/4/2024
8.7.0-pre-02 165 12/31/2023
8.7.0-pre-01 115 12/31/2023
8.6.0 202 12/31/2023
8.6.0-pre-03 178 12/25/2023
8.6.0-pre-02 133 12/25/2023
8.6.0-pre-01 218 12/21/2023
8.5.0 154 12/20/2023
8.5.0-pre-02 127 12/16/2023
8.5.0-pre-01 118 12/15/2023
8.4.0 132 12/14/2023
8.4.0-pre-01 124 12/13/2023
8.3.0 136 12/12/2023
8.3.0-pre-03 127 12/11/2023
8.3.0-pre-02 127 12/11/2023
8.3.0-pre-01 114 12/11/2023
8.2.0 280 12/2/2023
8.2.0-pre-05 101 12/2/2023
8.2.0-pre-04 115 12/1/2023
8.2.0-pre-03 131 11/30/2023
8.2.0-pre-02 111 11/29/2023
8.2.0-pre-01 106 11/25/2023
8.1.0 161 11/22/2023
8.1.0-pre-03 88 11/22/2023
8.1.0-pre-02 117 11/20/2023
8.1.0-pre-01 118 11/17/2023
8.0.1 136 11/14/2023
8.0.0-pre-01 117 11/14/2023
7.3.0 90 11/14/2023
7.3.0-pre-01 77 11/14/2023
7.2.0 97 11/14/2023
7.2.0-pre-02 77 11/14/2023
7.2.0-pre-01 81 11/12/2023
7.1.0 95 11/8/2023
7.1.0-pre-05 73 11/7/2023
7.1.0-pre-04 82 11/4/2023
7.1.0-pre-03 82 10/27/2023
7.1.0-pre-02 79 10/23/2023
7.1.0-pre-01 77 10/17/2023
7.0.0 134 10/15/2023
7.0.0-pre-02 82 10/15/2023
7.0.0-pre-01 79 10/13/2023
6.1.0 119 10/13/2023
6.1.0-pre-03 78 10/13/2023
6.1.0-pre-02 80 10/12/2023
6.1.0-pre-01 71 10/11/2023
6.0.0 99 10/9/2023
6.0.0-pre-05 90 10/8/2023
6.0.0-pre-04 81 10/6/2023
6.0.0-pre-03 80 10/2/2023
6.0.0-pre-02 86 9/29/2023
6.0.0-pre-01 80 9/27/2023
5.6.1 147 9/20/2023
5.6.1-pre-01 111 9/20/2023
5.6.0 149 9/20/2023
5.6.0-pre-03 104 9/20/2023
5.6.0-pre-02 106 9/18/2023
5.6.0-pre-01 134 9/14/2023
5.5.0 152 9/2/2023
5.5.0-pre-08 107 9/2/2023
5.5.0-pre-07 116 8/30/2023
5.5.0-pre-06 111 8/29/2023
5.5.0-pre-05 127 8/28/2023
5.5.0-pre-04 128 8/28/2023
5.5.0-pre-03 126 8/27/2023
5.5.0-pre-02 105 8/26/2023
5.5.0-pre-01 114 8/24/2023
5.4.0 169 8/20/2023
5.4.0-pre-05 131 8/20/2023
5.4.0-pre-04 129 8/19/2023
5.4.0-pre-03 113 8/19/2023
5.4.0-pre-02 128 8/19/2023
5.4.0-pre-01 130 8/15/2023
5.3.0 163 8/10/2023
5.3.0-pre-07 136 8/9/2023
5.3.0-pre-06 117 8/8/2023
5.3.0-pre-05 134 8/7/2023
5.3.0-pre-04 142 8/6/2023
5.3.0-pre-03 146 8/1/2023
5.3.0-pre-02 142 8/1/2023
5.3.0-pre-01 139 7/31/2023
5.2.0 150 7/28/2023
5.2.0-pre-05 131 7/27/2023
5.2.0-pre-03 148 7/24/2023
5.2.0-pre-02 142 7/24/2023
5.2.0-pre-01 138 7/10/2023
5.1.0 200 7/5/2023
5.1.0-pre-16 145 7/4/2023
5.1.0-pre-15 144 7/3/2023
5.1.0-pre-14 137 7/3/2023
5.1.0-pre-13 137 7/3/2023
5.1.0-pre-12 128 7/2/2023
5.1.0-pre-11 150 7/2/2023
5.1.0-pre-10 138 7/2/2023
5.1.0-pre-09 138 6/29/2023
5.1.0-pre-08 117 6/27/2023
5.1.0-pre-07 125 6/25/2023
5.1.0-pre-06 132 6/24/2023
5.1.0-pre-04 120 6/24/2023
5.1.0-pre-03 122 6/22/2023
5.1.0-pre-02 136 6/17/2023
5.1.0-pre-01 131 6/16/2023
5.0.0 189 5/29/2023
5.0.0-pre-02 125 5/29/2023
5.0.0-pre-01 132 5/25/2023
4.9.11-pre-02 132 5/25/2023
4.9.11-pre-01 133 5/25/2023
4.9.10 218 5/25/2023
4.9.10-pre-07 124 5/25/2023
4.9.10-pre-06 131 5/16/2023
4.9.10-pre-05 123 5/15/2023
4.9.10-pre-04 119 5/6/2023
4.9.10-pre-03 124 5/2/2023
4.9.10-pre-01 144 4/26/2023
4.9.9 247 4/10/2023
4.9.9-pre-03 141 4/9/2023
4.9.9-pre-02 153 3/29/2023
4.9.9-pre-01 136 3/29/2023
4.9.8-pre-02 156 3/21/2023
4.9.8-pre-01 142 3/20/2023
4.9.7-pre-01 149 3/6/2023
4.9.6 316 2/25/2023
4.9.6-pre-05 141 2/23/2023
4.9.6-pre-04 144 2/23/2023
4.9.6-pre-03 143 2/20/2023
4.9.6-pre-02 151 2/15/2023
4.9.5 304 2/8/2023
4.9.5-pre-03 156 2/8/2023
4.9.5-pre-02 142 2/8/2023
4.9.5-pre-01 134 2/7/2023
4.9.4 336 1/31/2023
4.9.4-pre-02 164 1/31/2023
4.9.4-pre-01 162 1/27/2023
4.9.3-pre-04 165 1/22/2023
4.9.3-pre-03 143 1/20/2023
4.9.3-pre-02 158 1/19/2023
4.9.2-pre-01 168 1/9/2023
4.9.1-pre-02 168 12/26/2022
4.9.1-pre-01 154 12/18/2022
4.9.0-pre-02 165 11/27/2022
4.9.0-pre-01 139 11/22/2022
4.8.0 422 11/15/2022
4.8.0-pre-02 165 11/14/2022
4.8.0-pre-01 168 11/11/2022
4.7.0 136 10/31/2022
4.7.0-pre-04 130 10/31/2022
4.7.0-pre-03 113 10/31/2022
4.7.0-pre-02 122 10/29/2022
4.7.0-pre-01 117 10/27/2022
4.6.0-pre-01 114 10/27/2022
4.5.0-pre-01 147 10/20/2022
4.4.1-pre-01 161 10/20/2022
4.4.0-pre-01 117 10/15/2022
4.3.2-pre-04 109 10/7/2022
4.3.2-pre-03 108 10/6/2022
4.3.2-pre-01 123 9/29/2022
4.3.1 141 9/21/2022
4.3.0 137 9/21/2022
4.2.0-pre-07 142 9/19/2022
4.2.0-pre-05 163 9/18/2022
4.2.0-pre-04 173 9/18/2022
4.2.0-pre-02 173 9/14/2022
4.2.0-pre-01 120 9/12/2022
4.1.0 155 9/8/2022
4.1.0-pre-01 136 9/8/2022
4.0.0 136 9/1/2022
3.1.0-pre-07 115 9/1/2022
3.1.0-pre-06 111 8/30/2022
3.1.0-pre-05 114 8/29/2022
3.1.0-pre-04 119 8/28/2022
3.1.0-pre-03 118 8/27/2022
3.1.0-pre-02 123 8/25/2022
3.1.0-pre-01 119 8/23/2022
3.0.0 159 8/15/2022
3.0.0-pre-09 131 8/15/2022
3.0.0-pre-08 125 8/15/2022
3.0.0-pre-07 124 8/15/2022
3.0.0-pre-06 160 8/14/2022
3.0.0-pre-05 173 8/14/2022
3.0.0-pre-04 174 8/9/2022
3.0.0-pre-03 169 8/8/2022
3.0.0-pre-02 164 8/7/2022
3.0.0-pre-01 194 7/29/2022
2.0.0 532 7/25/2022
2.0.0-pre-14 160 7/24/2022
2.0.0-pre-12 180 7/21/2022
2.0.0-pre-11 181 7/21/2022
2.0.0-pre-10 173 7/20/2022
2.0.0-pre-09 183 7/20/2022
2.0.0-pre-08 186 7/19/2022
2.0.0-pre-07 180 7/19/2022
2.0.0-pre-06 188 7/18/2022
2.0.0-pre-05 197 7/17/2022
2.0.0-pre-04 164 7/14/2022
2.0.0-pre-03 186 7/13/2022
2.0.0-pre-02 174 7/12/2022
2.0.0-pre-01 169 7/8/2022
2.0.0-pre-00 185 7/4/2022
1.0.2 564 7/4/2022
1.0.0 579 7/4/2022