Skip to content

Commit 1dfb517

Browse files
committed
Schedule, Accordion, Tab, Toolbar samples committed
1 parent d1c542d commit 1dfb517

File tree

4 files changed

+8
-30
lines changed

4 files changed

+8
-30
lines changed

ej2-blazor-samples/Pages/Navigations/Accordion/DefaultFunctionalities.razor

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
<div class="control_wrapper accordion-control-section">
1717

1818
<EjsAccordion ID="defaultAccordion">
19+
<AccordionAnimationSettings>
20+
<AccordionAnimationCollapse Effect="SlideDown" Duration="400" Easing="linear"></AccordionAnimationCollapse>
21+
<AccordionAnimationExpand Effect="SlideDown" Duration="400" Easing="linear"></AccordionAnimationExpand>
22+
</AccordionAnimationSettings>
1923
<AccordionItems>
2024
<AccordionItem Expanded="true" Header="ASP.NET" Content="Microsoft ASP.NET is a set of technologies in the Microsoft .NET Framework for building Web applications and XML Web services. ASP.NET pages execute on the server and generate markup such as HTML, WML, or XML that is sent to a desktop or mobile browser. ASP.NET pages use a compiled,event-driven programming model that improves performance and enables the separation of application logic and user interface."></AccordionItem>
2125
<AccordionItem Header="ASP.NET MVC" Content="The Model-View-Controller (MVC) architectural pattern separates an application into three main components: the model, the view, and the controller. The ASP.NET MVC framework provides an alternative to the ASP.NET Web Forms pattern for creating Web applications. The ASP.NET MVC framework is a lightweight, highly testable presentation framework that (as with Web Forms-based applications) is integrated with existing ASP.NET features, such as master pages and membership-based authentication."></AccordionItem>

ej2-blazor-samples/Pages/Navigations/Tab/DefaultFunctionalities.razor

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@
2727

2828
<div class="col-lg-12 control-section">
2929
<div class="e-sample-resize-container">
30-
@*<EjsTab ID="defaultTab" Items="@TabItems">
31-
</EjsTab>*@
3230
<EjsTab ID="defaultTab">
31+
<TabAnimationSettings>
32+
<TabAnimationPrevious Effect="SlideRightIn" Duration="600" Easing="ease"></TabAnimationPrevious>
33+
<TabAnimationNext Effect="SlideLeftIn" Duration="600" Easing="ease"></TabAnimationNext>
34+
</TabAnimationSettings>
3335
<TabItems>
3436
<TabItem Header="@Header1" Content="@Content1"></TabItem>
3537
<TabItem Header="@Header2" Content="@Content2"></TabItem>
@@ -98,28 +100,5 @@ public string Content3 = "WhatsApp Messenger is a proprietary cross-platform ins
98100
"audio media messages to other users using standard cellular mobile numbers. As of February 2016, WhatsApp had a user" +
99101
"base of up to one billion,[10] making it the most globally popular messaging application.WhatsApp Inc., based in" +
100102
"Mountain View, California, was acquired by Facebook Inc.on February 19, 2014, for approximately US$19.3 billion.";
101-
102-
private List<Object>
103-
TabItems { get; set; } = new List<Object>
104-
{
105-
new { header = new { text = "Twitter", iconCss = "e-twitter" }, content = "Twitter is an online social networking service that enables users to send and read short 140-character " +
106-
"messages called 'tweets'. Registered users can read and post tweets, but those who are unregistered can only read " +
107-
"them. Users access Twitter through the website interface, SMS or mobile device app Twitter Inc. is based in San " +
108-
"Francisco and has more than 25 offices around the world. Twitter was created in March 2006 by Jack Dorsey, " +
109-
"Evan Williams, Biz Stone, and Noah Glass and launched in July 2006. The service rapidly gained worldwide popularity, " +
110-
"with more than 100 million users posting 340 million tweets a day in 2012.The service also handled 1.6 billion " +
111-
"search queries per day." },
112-
new { header = new { text = "Facebook", iconCss = "e-facebook" }, content = "Facebook is an online social networking service headquartered in Menlo Park, California. Its website was " +
113-
"launched on February 4, 2004, by Mark Zuckerberg with his Harvard College roommates and fellow students Eduardo " +
114-
"Saverin, Andrew McCollum, Dustin Moskovitz and Chris Hughes.The founders had initially limited the website " +
115-
"membership to Harvard students, but later expanded it to colleges in the Boston area, the Ivy League, and Stanford " +
116-
"University. It gradually added support for students at various other universities and later to high-school students." },
117-
new { header = new { text = "WhatsApp", iconCss = "e-whatsapp" }, content = "WhatsApp Messenger is a proprietary cross-platform instant messaging client for smartphones that operates " +
118-
"under a subscription business model. It uses the Internet to send text messages, images, video, user location and " +
119-
"audio media messages to other users using standard cellular mobile numbers. As of February 2016, WhatsApp had a user " +
120-
"base of up to one billion,[10] making it the most globally popular messaging application. WhatsApp Inc., based in " +
121-
"Mountain View, California, was acquired by Facebook Inc. on February 19, 2014, for approximately US$19.3 billion." }
122-
};
123-
124103
}
125104

ej2-blazor-samples/Pages/Navigations/Toolbar/DefaultFunctionalities.razor

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@
4444

4545
<div class="col-lg-12 control-section">
4646
<div class="e-sample-resize-container">
47-
@*<EjsToolbar ID="defaultToolbar" Items="@ToolbarItems">
48-
</EjsToolbar>*@
49-
5047
<EjsToolbar ID="defaultToolbar">
5148
<ToolBarItems>
5249
<ToolBarItem PrefixIcon="e-cut-icon tb-icons" TooltipText="Cut"></ToolBarItem>

ej2-blazor-samples/Pages/Navigations/Toolbar/Popup.razor

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656

5757
<div class="col-lg-12 control-section">
5858
<div class="e-sample-resize-container">
59-
6059
<EjsToolbar ID="popup" OverflowMode="@Mode">
6160
<ToolBarItems>
6261
<ToolBarItem PrefixIcon="e-cut-icon tb-icons" TooltipText="Cut" Text="Cut"></ToolBarItem>
@@ -87,7 +86,6 @@
8786
<ToolBarItem PrefixIcon="e-design-icon tb-icons" TooltipText="Design" Text="Design"></ToolBarItem>
8887
</ToolBarItems>
8988
</EjsToolbar>
90-
9189
</div>
9290
</div>
9391

0 commit comments

Comments
 (0)