Skip to content

Commit a1099e1

Browse files
samples(BLAZ-25684): FAB, Speed dial, Skeleton samples modified.
1 parent f13ef19 commit a1099e1

File tree

211 files changed

+514
-801
lines changed

Some content is hidden

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

211 files changed

+514
-801
lines changed

FloatingActionButton/BlazorServerApp/FABSample/Data/WeatherForecast.cs

Lines changed: 0 additions & 13 deletions
This file was deleted.

FloatingActionButton/BlazorServerApp/FABSample/Data/WeatherForecastService.cs

Lines changed: 0 additions & 20 deletions
This file was deleted.

FloatingActionButton/BlazorServerApp/FABSample/Pages/Counter.razor

Lines changed: 0 additions & 18 deletions
This file was deleted.

FloatingActionButton/BlazorServerApp/FABSample/Pages/FetchData.razor

Lines changed: 0 additions & 48 deletions
This file was deleted.

FloatingActionButton/BlazorServerApp/FABSample/Pages/Index.razor

Lines changed: 0 additions & 3 deletions
This file was deleted.

FloatingActionButton/BlazorServerApp/FABSample/App.razor renamed to FloatingActionButton/BlazorServerApp/FABSamples/App.razor

File renamed without changes.

FloatingActionButton/BlazorServerApp/FABSample/FABSample.csproj renamed to FloatingActionButton/BlazorServerApp/FABSamples/FABSamples.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Syncfusion.Blazor.Buttons" Version="20.3.0.47" />
11-
<PackageReference Include="Syncfusion.Blazor.Themes" Version="20.3.0.47" />
10+
<PackageReference Include="Syncfusion.Blazor.Buttons" Version="20.3.0.48" />
11+
<PackageReference Include="Syncfusion.Blazor.Themes" Version="20.3.0.48" />
1212
</ItemGroup>
1313

1414
</Project>

FloatingActionButton/BlazorWASM/FABSample/FABSample.sln renamed to FloatingActionButton/BlazorServerApp/FABSamples/FABSamples.sln

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
44
VisualStudioVersion = 17.1.32319.34
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FABSample", "FABSample.csproj", "{A19F6E34-0686-462E-841D-AB7540D051A6}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FABSamples", "FABSamples.csproj", "{F0C73036-367D-4BAE-B01B-000ACAE42787}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1010
Debug|Any CPU = Debug|Any CPU
1111
Release|Any CPU = Release|Any CPU
1212
EndGlobalSection
1313
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14-
{A19F6E34-0686-462E-841D-AB7540D051A6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15-
{A19F6E34-0686-462E-841D-AB7540D051A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
16-
{A19F6E34-0686-462E-841D-AB7540D051A6}.Release|Any CPU.ActiveCfg = Release|Any CPU
17-
{A19F6E34-0686-462E-841D-AB7540D051A6}.Release|Any CPU.Build.0 = Release|Any CPU
14+
{F0C73036-367D-4BAE-B01B-000ACAE42787}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{F0C73036-367D-4BAE-B01B-000ACAE42787}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{F0C73036-367D-4BAE-B01B-000ACAE42787}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{F0C73036-367D-4BAE-B01B-000ACAE42787}.Release|Any CPU.Build.0 = Release|Any CPU
1818
EndGlobalSection
1919
GlobalSection(SolutionProperties) = preSolution
2020
HideSolutionNode = FALSE
2121
EndGlobalSection
2222
GlobalSection(ExtensibilityGlobals) = postSolution
23-
SolutionGuid = {4B130A13-0717-4FC0-B405-C9C75B42A094}
23+
SolutionGuid = {4AA4630A-EED2-40B5-9C46-24F8B8BBB702}
2424
EndGlobalSection
2525
EndGlobal
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
@page "/event-click"
2+
3+
@*Floating Action Button sample with 'Target' to position a FAB based on the target.*@
4+
5+
<div id="target" style="min-height:200px; position:relative; width:300px; border:1px solid;">
6+
<SfFab Target="#target" IconCss="e-icons e-plus" OnClick="EventClick"></SfFab>
7+
</div>
8+
9+
10+
@*Floating Action Button sample without 'Target' to position a FAB based on the target.*@
11+
12+
<SfFab IconCss="e-icons e-plus" OnClick="EventClick"></SfFab>
13+
14+
<label>Event log</label>
15+
<div style="border:1px solid;min-height:20px;"> @((MarkupString)log)</div>
16+
@code{
17+
private string log = "";
18+
public void EventClick()
19+
{
20+
// Here, you can call your desired action.
21+
log = log + "Fab Clicked.<br/>";
22+
}
23+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
@page "/"
2+
3+
@*Floating Action Button sample with 'Target' to position a FAB based on the target.*@
4+
5+
<div id="target" style="min-height:200px; position:relative; width:300px; border:1px solid;">
6+
<SfFab Target="#target" Content="Add"></SfFab>
7+
</div>
8+
9+
10+
@*Floating Action Button sample without 'Target' to position a FAB based on the target.*@
11+
12+
<SfFab Content="Add"></SfFab>

0 commit comments

Comments
 (0)