canyin-project/ybcy/vendor/bower-asset/inputmask/nuspecs
2024-11-01 16:07:54 +08:00
..
Inputmask.nuspec init 2024-11-01 16:07:54 +08:00
jquery.inputmask.nuspec init 2024-11-01 16:07:54 +08:00
Readme.txt init 2024-11-01 16:07:54 +08:00

## .NET Nuget Package Install

```html
PM> Install-Package InputMask
```

In App_Start, BundleConfig.cs

```c#
bundles.Add(new ScriptBundle("~/bundles/inputmask").Include(
            //~/Scripts/Inputmask/dependencyLibs/inputmask.dependencyLib.js",  //if not using jquery
            "~/Scripts/Inputmask/inputmask.js",
            "~/Scripts/Inputmask/jquery.inputmask.js",
            "~/Scripts/Inputmask/inputmask.extensions.js",
            "~/Scripts/Inputmask/inputmask.date.extensions.js",
            //and other extensions you want to include
            "~/Scripts/Inputmask/inputmask.numeric.extensions.js"));
```

In Layout

```html
@Scripts.Render("~/bundles/inputmask")
```