Redmask.Taghelpers
1.0.4
See the version list below for details.
dotnet add package Redmask.Taghelpers --version 1.0.4
NuGet\Install-Package Redmask.Taghelpers -Version 1.0.4
<PackageReference Include="Redmask.Taghelpers" Version="1.0.4" />
<PackageVersion Include="Redmask.Taghelpers" Version="1.0.4" />
<PackageReference Include="Redmask.Taghelpers" />
paket add Redmask.Taghelpers --version 1.0.4
#r "nuget: Redmask.Taghelpers, 1.0.4"
#addin nuget:?package=Redmask.Taghelpers&version=1.0.4
#tool nuget:?package=Redmask.Taghelpers&version=1.0.4
Redmask.Taghelpers
Description
Some useful UI taghelpers
tinymc5 + roxyfilenam , persian calendar picker , image chooser dialog(instead of file input) , social share btn
source code and sample : https://github.com/vahidarya14/Redmask.Taghelpers2
sample usage source:
add this in head of site
@Html.RedmaskCss(new CssPool(Bootstrap.v5).PersianDateTimePicker().Kendo2020().AdminLTE3().TagInput().PersianCss())
<script src="~/_content/Redmask.Taghelpers/lib/jquery/jquery.min.js"></script>
and this in footer (or header)
@Html.RedmaskJs(new ScriptsPool(Bootstrap.v5).PersianDateTimePicker().Kendo2020().AdminLTE3().TinyMCE5().TagInput())
add csharp @addTagHelper *,Redmask.Taghelpers
to _ViewImport.cshtml
Done
[!NOTE] you can ignore PersianDateTimePicker or Kendo2020 or AdminLTE or TagInput or PersianCss if you aren't using these component.and just add needed css and js
usage
imageChooser:
<imageChooserFor asp-for="Icon" folder-path="@Setting.ContentsFolder" max-kb="1500" img-css="max-height:200px;border:2px solid blue;" ></imageChooserFor>
TagInput:
<TagInputFor asp-for="Tags" seperator=","/>
PersianDatePicker:
if you are using bootstrap 5
<PersianDatePickerBs5For asp-for="CreateDate" />
if you are using bootstrap 4
<PersianDatePickerBs4For asp-for="CreateDate" />
TinyMce5
<TinyMce5For asp-for="Description" language="fa_IR" directionality="rtl">some content</TinyMce5For>
Switch
<SwitchFor asp-for="IsActive" label="Is Active" />
FloatingLabelInputGroup
<FloatingLabelInputGroup label="نام">
<input class="form-control" asp-for="Name" placeholder="نام" type="text" />
</FloatingLabelInputGroup>
none binding tagheplers
<FilterPanel>
<DropDownFilterItem title="name" id="nameFilter" />
<CustomeBobyFilter id="familyFilter" title="family">
<ol class="list-group list-group-numbered px-0">
<li class="list-group-item d-flex justify-content-between align-items-start">
<div class="form-check">
<input class="filterInput familyFilter" type="checkbox" data-lbl="chk_1" id="flexCheckDefault">
<label class="form-check-label" for="flexCheckDefault">
Default checkbox
</label>
</div>
</li>
<li class="list-group-item d-flex justify-content-between align-items-start">
<div class="form-check">
<input class="filterInput familyFilter" type="checkbox" data-lbl="chk__2" id="flexCheckChecked">
<label class="form-check-label" for="flexCheckChecked">
Checked checkbox
</label>
</div>
</li>
</ol>
</CustomeBobyFilter>
<FilterItem>
<FilterBadge>
تاریخ:
<span class="badge badge-warning" id="dateFromFilter2-has"></span>
<span class="badge badge-warning" id="dateToFilter2-has"></span>
<i class="las la-angle-down"></i>
</FilterBadge>
<FilterBody>
<div class="p-2 pt-4">
<PersianDatePicker class="filterInput" id="dateFromFilter" />
<PersianDatePicker class="filterInput" id="dateToFilter" />
</div>
</FilterBody>
</FilterItem>
</FilterPanel>
<imageChooser name="aa" ></imageChooser>
<PersianDatePickerBs5 id="picker1" ></PersianDatePickerBs5>
<ShareBtnBs5 use-current-url="true" class="float-left btn-success" />
<ShareBtnBs4 use-current-url="true" class="float-left btn-danger" />
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
-
net9.0
- Newtonsoft.Json (>= 13.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.