Skip to content

Commit 065b4f0

Browse files
author
Karthik Ravichandran
authored
Merge branch 'EJ2-000-github-samples' into EJ2-000-Inputs
2 parents 400a8e4 + a85f84e commit 065b4f0

File tree

147 files changed

+3951
-4147
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

147 files changed

+3951
-4147
lines changed

ej2-blazor-samples/Pages/Buttons/Button/ButtonGroup.razor

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
<div class="row">
4040
<p class="h5">Default</p>
4141
<div id="icon" class="e-btn-group">
42-
<EjsButton id='watch' IconCss='bg-icons e-btngrp-watch'></EjsButton>
43-
<EjsButton id='star' IconCss='bg-icons e-btngrp-star'></EjsButton>
44-
<EjsButton id='download' IconCss='bg-icons e-btngrp-download'></EjsButton>
42+
<EjsButton ID='watch' IconCss='bg-icons e-btngrp-watch'></EjsButton>
43+
<EjsButton ID='star' IconCss='bg-icons e-btngrp-star'></EjsButton>
44+
<EjsButton ID='download' IconCss='bg-icons e-btngrp-download'></EjsButton>
4545
</div>
4646
</div>
4747
<div class="row">

ej2-blazor-samples/Pages/Buttons/Button/DefaultFunctionalities.razor

Lines changed: 169 additions & 158 deletions
Large diffs are not rendered by default.

ej2-blazor-samples/Pages/Buttons/Button/DropDownButton.razor

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,16 @@
4747
<div id="button-control">
4848
<div class="row">
4949
<div class="col-xs-12 col-sm-12 col-lg-6 col-md-6">
50-
<EjsDropDownButton id="iconbtn" Items="@items" IconCss="e-ddb-icons e-profile"></EjsDropDownButton>
50+
<EjsDropDownButton ID="iconbtn" Items="@Items" IconCss="e-ddb-icons e-profile"></EjsDropDownButton>
5151
</div>
5252
<div class="col-xs-12 col-sm-12 col-lg-6 col-md-6">
53-
<EjsDropDownButton id="textbtn" Content="Profile" Items="@items"></EjsDropDownButton>
53+
<EjsDropDownButton ID="textbtn" Content="Profile" Items="@Items"></EjsDropDownButton>
5454
</div>
5555
<div class="col-xs-12 col-sm-12 col-lg-6 col-md-6">
56-
<EjsDropDownButton id="icontextbtn" Content="Profile" Items="@items" IconCss="e-ddb-icons e-profile"></EjsDropDownButton>
56+
<EjsDropDownButton ID="icontextbtn" Content="Profile" Items="@Items" IconCss="e-ddb-icons e-profile"></EjsDropDownButton>
5757
</div>
5858
<div class="col-xs-12 col-sm-12 col-lg-6 col-md-6">
59-
<EjsDropDownButton id="custombtn" Content="Profile" Items="@items" CssClass="e-caret-hide"></EjsDropDownButton>
59+
<EjsDropDownButton ID="custombtn" Content="Profile" Items="@Items" CssClass="e-caret-hide"></EjsDropDownButton>
6060
</div>
6161
</div>
6262
</div>
@@ -156,9 +156,9 @@
156156
}
157157
</style>
158158

159-
@functions{
159+
@code{
160160

161-
public List<object> items { get; set; } = new List<object>
161+
public List<object> Items { get; set; } = new List<object>
162162
{
163163
new { text = "Dashboard", iconCss = "e-ddb-icons e-dashboard" },
164164
new { text = "Notifications", iconCss = "e-ddb-icons e-notifications" },

ej2-blazor-samples/Pages/Buttons/Button/ProgressButton.razor

Lines changed: 205 additions & 207 deletions
Large diffs are not rendered by default.

ej2-blazor-samples/Pages/Buttons/Button/RadioButton.razor

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@
3939
<div class="radio-control">
4040
<h4 class="row">Select a payment method</h4>
4141
<div class="row">
42-
<EjsRadioButton id="radio1" Label="Credit/Debit Card" Name="payment" Value="credit/debit" Checked="true"></EjsRadioButton>
42+
<EjsRadioButton ID="radio1" Label="Credit/Debit Card" Name="payment" Value="credit/debit" Checked="true"></EjsRadioButton>
4343
</div>
4444
<div class="row">
45-
<EjsRadioButton id="radio2" Label="Net Banking" Name="payment" Value="netbanking"></EjsRadioButton>
45+
<EjsRadioButton ID="radio2" Label="Net Banking" Name="payment" Value="netbanking"></EjsRadioButton>
4646
</div>
4747
<div class="row">
48-
<EjsRadioButton id="radio3" Label="Cash on Delivery" Name="payment" Value="cashondelivery"></EjsRadioButton>
48+
<EjsRadioButton ID="radio3" Label="Cash on Delivery" Name="payment" Value="cashondelivery"></EjsRadioButton>
4949
</div>
5050
<div class="row">
51-
<EjsRadioButton id="radio4" Label="Other Wallets" Name="payment" Value="others"></EjsRadioButton>
51+
<EjsRadioButton ID="radio4" Label="Other Wallets" Name="payment" Value="others"></EjsRadioButton>
5252
</div>
5353
</div>
5454
</div>

ej2-blazor-samples/Pages/Buttons/Button/SplitButton.razor

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@
4040
<div id="button-control">
4141
<div class="row">
4242
<div class="col-xs-12 col-sm-6 col-lg-3 col-md-3">
43-
<EjsSplitButton id="iconsplitbtn" Items="@items" IconCss="e-btn-icons e-paste"></EjsSplitButton>
43+
<EjsSplitButton ID="iconsplitbtn" Items="@Items" IconCss="e-btn-icons e-paste"></EjsSplitButton>
4444
</div>
4545
<div class="col-xs-12 col-sm-6 col-lg-3 col-md-3">
46-
<EjsSplitButton id="textsplitbtn" Items="@items" Content="Paste"></EjsSplitButton>
46+
<EjsSplitButton ID="textsplitbtn" Items="@Items" Content="Paste"></EjsSplitButton>
4747
</div>
4848
<div class="col-xs-12 col-sm-6 col-lg-3 col-md-3">
49-
<EjsSplitButton id="icontextsplitbtn" Items="@items" Content="Paste" IconCss="e-btn-icons e-paste"></EjsSplitButton>
49+
<EjsSplitButton ID="icontextsplitbtn" Items="@Items" Content="Paste" IconCss="e-btn-icons e-paste"></EjsSplitButton>
5050
</div>
5151
<div class="col-xs-12 col-sm-6 col-lg-3 col-md-3">
52-
<EjsSplitButton id="disabledsplitbtn" Items="@items" Content="Paste" IconCss="e-btn-icons e-paste"></EjsSplitButton>
52+
<EjsSplitButton ID="disabledsplitbtn" Items="@Items" Content="Paste" IconCss="e-btn-icons e-paste"></EjsSplitButton>
5353
</div>
5454
</div>
5555
</div>
@@ -120,8 +120,8 @@
120120
}
121121
</style>
122122

123-
@functions{
124-
public List<object> items { get; set; } = new List<object>
123+
@code{
124+
public List<object> Items { get; set; } = new List<object>
125125
{
126126
new { text = "Paste", iconCss = "e-btn-icons e-paste" },
127127
new { text = "Paste Special", iconCss = "e-btn-icons e-paste-special" },

ej2-blazor-samples/Pages/Buttons/Button/Switch.razor

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@
4949
</div>
5050
<div>
5151
<label for="checked" style="padding: 10px 70px 10px 0"> USB Tethering </label>
52-
<EjsSwitch id="checked" Checked="true"></EjsSwitch>
52+
<EjsSwitch ID="checked" Checked="true"></EjsSwitch>
5353
</div>
5454
<div>
5555
<label for="unchecked" style="padding: 10px 24px 10px 0"> Portable Wi-Fi hotspot </label>
56-
<EjsSwitch id="unchecked"></EjsSwitch>
56+
<EjsSwitch ID="unchecked"></EjsSwitch>
5757
</div>
5858
<div>
5959
<label for='disabled' class="e-disabled" style="padding: 10px 40px 10px 0"> Bluetooth Tethering </label>
60-
<EjsSwitch id="disabled" Disabled="true"></EjsSwitch>
60+
<EjsSwitch ID="disabled" Disabled="true"></EjsSwitch>
6161
</div>
6262
</div>
6363
</div>

ej2-blazor-samples/Pages/Buttons/Chips/DefaultFunctionalities.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
</div>
8484
</div>
8585
</div>
86-
@functions{
86+
@code{
8787
int[] choiceSelected = {1};
8888
int[] filterSelected = {1,3};
8989
}

ej2-blazor-samples/Pages/Calendars/Calendar/DateRange.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
}
4242
</style>
4343

44-
@functions{
44+
@code{
4545
public DateTime minDate { get; set; } = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 05);
4646
public DateTime maxDate { get; set; } = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 27);
4747
}

ej2-blazor-samples/Pages/Calendars/Calendar/MultiSelection.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
}
3636
</style>
3737

38-
@functions {
38+
@code {
3939
public bool multiSelection { get; set; } = true;
4040
public DateTime[] multiValue = new DateTime[] { new DateTime(DateTime.Now.Year, DateTime.Now.Month, 10), new DateTime(DateTime.Now.Year, DateTime.Now.Month, 15), new DateTime(DateTime.Now.Year, DateTime.Now.Month, 25) };
4141
}

0 commit comments

Comments
 (0)