Skip to content

Commit a29a560

Browse files
authored
Merge pull request syncfusion#25 from Deepika5698/master
Updated Javascript samples
2 parents 776873b + 37cb802 commit a29a560

File tree

1,203 files changed

+8716
-6335
lines changed

Some content is hidden

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

1,203 files changed

+8716
-6335
lines changed

index.html

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,14 +252,22 @@
252252
<span class='sb-icons sb-theme-select sb-icon-icon-selection'></span>
253253
<span class="switch-text">Tailwind CSS Dark</span>
254254
</li>
255-
<li class='active' id="material" role="listitem">
255+
<li class='e-list' id="material" role="listitem">
256256
<span class='sb-icons sb-theme-select sb-icon-icon-selection'></span>
257257
<span class="switch-text">Material</span>
258258
</li>
259259
<li class="e-list" id="material-dark" role="listitem">
260260
<span class='sb-icons sb-theme-select sb-icon-icon-selection'></span>
261261
<span class="switch-text">Material Dark</span>
262262
</li>
263+
<li class='active' id="material3" role="listitem">
264+
<span class='sb-icons sb-theme-select sb-icon-icon-selection'></span>
265+
<span class="switch-text">Material 3</span>
266+
</li>
267+
<li class="e-list" id="material3-dark" role="listitem">
268+
<span class='sb-icons sb-theme-select sb-icon-icon-selection'></span>
269+
<span class="switch-text">Material 3 Dark</span>
270+
</li>
263271
<li id="fabric" role="listitem">
264272
<span class='sb-icons sb-theme-select sb-icon-icon-selection'></span>
265273
<span class="switch-text">Fabric</span>
@@ -308,6 +316,8 @@
308316
<option value="tailwind-dark">Tailwind CSS Dark</option>
309317
<option value="material">Material</option>
310318
<option value="material-dark">Material Dark</option>
319+
<option value="material3">Material 3</option>
320+
<option value="material3-dark">Material 3 Dark</option>
311321
<option value="fabric">Fabric</option>
312322
<option value="fabric-dark">Fabric Dark</option>
313323
<option value="bootstrap4">Bootstrap v4</option>
@@ -404,7 +414,7 @@ <h1 class='sb-sample-text' role="heading" aria-level="1">Chart</h1>
404414
</span>
405415
</div>
406416
<div><span class="sb-icons sb-icon-API"></span><span class="sb-tab-title"> API </span>
407-
</div>
417+
</div>
408418
</div>
409419
<div class="e-content sb-sample-content-area">
410420
<div>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-javascript-samples",
3-
"version": "21.1.35",
3+
"version": "22.1.34",
44
"description": "Examples of JavaScript (ES5) UI Controls",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

src/accordion/default-stack.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"index.html":"<html><head><script src=\"//ej2.syncfusion.com/javascript/demos/accordion/default/datasource.js\" type=\"text/javascript\"></script>\n<script src=\"https://cdn.syncfusion.com/ej2/20.4.38/dist/ej2.min.js\" type=\"text/javascript\"></script>\n <link href=\"https://cdn.syncfusion.com/ej2/20.4.38/material.css\" rel=\"stylesheet\">\n\n <link href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css\" rel=\"stylesheet\">\n\n <style>\n body{\n touch-action:none;\n }\n </style></head><body><div class=\"stackblitz-container {{theme}}\"><div class=\"control-section\">\n <div class=\"control_wrapper accordion-control-section\">\n <div id=\"Accordion_default\"></div>\n </div>\n</div>\n\n\n","index.js":"{{ripple}}/**\n * Accordion Default Sample\n */\n\n //Initialize Accordion component\n var accordion = new ej.navigations.Accordion({\n items: [\n { header: 'ASP.NET', expanded: true, 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.' },\n { 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.' },\n { header: 'JavaScript', content: 'JavaScript (JS) is an interpreted computer programming language.It was originally implemented as part of web browsers so that client-side scripts could interact with the user, control the browser, communicate asynchronously, and alter the document content that was displayed.More recently, however, it has become common in both game development and the creation of desktop applications.' }\n ]\n });\n //Render initialized Accordion component\n accordion.appendTo('#Accordion_default');\n"}
1+
{"index.html":"<html><head><script src=\"//ej2.syncfusion.com/javascript/demos/accordion/default/datasource.js\" type=\"text/javascript\"></script>\n<script src=\"https://cdn.syncfusion.com/ej2/21.1.35/dist/ej2.min.js\" type=\"text/javascript\"></script>\n <link href=\"https://cdn.syncfusion.com/ej2/21.1.35/material.css\" rel=\"stylesheet\">\n\n <link href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css\" rel=\"stylesheet\">\n\n <style>\n body{\n touch-action:none;\n }\n </style></head><body><div class=\"stackblitz-container {{theme}}\"><div class=\"control-section\">\n <div class=\"control_wrapper accordion-control-section\">\n <div id=\"Accordion_default\"></div>\n </div>\n</div>\n\n\n","index.js":"{{ripple}}/**\n * Accordion Default Sample\n */\n\n //Initialize Accordion component\n var accordion = new ej.navigations.Accordion({\n items: [\n { header: 'ASP.NET', expanded: true, 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.' },\n { 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.' },\n { header: 'JavaScript', content: 'JavaScript (JS) is an interpreted computer programming language.It was originally implemented as part of web browsers so that client-side scripts could interact with the user, control the browser, communicate asynchronously, and alter the document content that was displayed.More recently, however, it has become common in both game development and the creation of desktop applications.' }\n ]\n });\n //Render initialized Accordion component\n accordion.appendTo('#Accordion_default');\n"}

src/accordion/icons-stack.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"index.html":"<html><head><script src=\"//ej2.syncfusion.com/javascript/demos/accordion/icons/datasource.js\" type=\"text/javascript\"></script>\n<script src=\"https://cdn.syncfusion.com/ej2/20.4.38/dist/ej2.min.js\" type=\"text/javascript\"></script>\n <link href=\"https://cdn.syncfusion.com/ej2/20.4.38/material.css\" rel=\"stylesheet\">\n\n <link href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css\" rel=\"stylesheet\">\n\n <style>\n body{\n touch-action:none;\n }\n </style></head><body><div class=\"stackblitz-container {{theme}}\"><div class=\"control-section\">\n <div class=\"control_wrapper accordion-control-section\">\n <div id=\"Accordion_icon\"></div>\n </div>\n <div id=\"athletics\" style=\"display:none\">\n <li><span class=\"e-acrdn-icons e-content-icon marathon\"></span> Marathon</li>\n <li><span class=\"e-acrdn-icons e-content-icon javelin\"></span> Javelin Throw</li>\n <li><span class=\"e-acrdn-icons e-content-icon discus\"></span> Discus Throw</li>\n <li><span class=\"e-acrdn-icons e-content-icon highjump\"></span> High Jump</li>\n <li><span class=\"e-acrdn-icons e-content-icon longjump\"></span> Long Jump</li>\n </div>\n <div id=\"water_games\" style=\"display:none\">\n <li><span class=\"e-acrdn-icons e-content-icon dive\"></span> Diving</li>\n <li><span class=\"e-acrdn-icons e-content-icon swimming\"></span> Swimming</li>\n <li><span class=\"e-acrdn-icons e-content-icon marathan_swim\"></span> Marathon Swimming</li>\n <li><span class=\"e-acrdn-icons e-content-icon sync_swim\"></span> Synchronized Swimming</li>\n <li><span class=\"e-acrdn-icons e-content-icon waterpolo\"></span> Water Polo</li>\n </div>\n <div id=\"racing_games\" style=\"display:none\">\n <li><span class=\"e-acrdn-icons e-content-icon cycle_BMX\"></span> Cycling BMX</li>\n <li> <span class=\"e-acrdn-icons e-content-icon cycle_Mountain\"></span> Cycling Mountain Bike</li>\n <li> <span class=\"e-acrdn-icons e-content-icon cycle\"></span> Cycle Racing</li>\n <li> <span class=\"e-acrdn-icons e-content-icon sailing\"></span> Sailing</li>\n <li> <span class=\"e-acrdn-icons e-content-icon rowing\"></span> Rowing</li>\n </div>\n <div id=\"indoor_games\" style=\"display:none\">\n <li><span class=\"e-acrdn-icons e-content-icon tennis\"></span> Table Tennis</li>\n <li> <span class=\"e-acrdn-icons e-content-icon badminton\"></span> Badminton</li>\n <li> <span class=\"e-acrdn-icons e-content-icon volleyball\"></span> Volleyball</li>\n <li> <span class=\"e-acrdn-icons e-content-icon boxing\"></span> Boxing</li>\n <li> <span class=\"e-acrdn-icons e-content-icon swimming_In\"></span> Swimming</li>\n </div>\n</div>\n\n\n","index.js":"{{ripple}}/**\n * Accordion Icon Sample\n */\n\n //Initialize Accordion component\n var accordion = new ej.navigations.Accordion({\n items: window.data\n });\n //Render initialized Accordion component\n accordion.appendTo('#Accordion_icon');\n"}
1+
{"index.html":"<html><head><script src=\"//ej2.syncfusion.com/javascript/demos/accordion/icons/datasource.js\" type=\"text/javascript\"></script>\n<script src=\"https://cdn.syncfusion.com/ej2/21.1.35/dist/ej2.min.js\" type=\"text/javascript\"></script>\n <link href=\"https://cdn.syncfusion.com/ej2/21.1.35/material.css\" rel=\"stylesheet\">\n\n <link href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css\" rel=\"stylesheet\">\n\n <style>\n body{\n touch-action:none;\n }\n </style></head><body><div class=\"stackblitz-container {{theme}}\"><div class=\"control-section\">\n <div class=\"control_wrapper accordion-control-section\">\n <div id=\"Accordion_icon\"></div>\n </div>\n <div id=\"athletics\" style=\"display:none\">\n <li><span class=\"e-acrdn-icons e-content-icon marathon\"></span> Marathon</li>\n <li><span class=\"e-acrdn-icons e-content-icon javelin\"></span> Javelin Throw</li>\n <li><span class=\"e-acrdn-icons e-content-icon discus\"></span> Discus Throw</li>\n <li><span class=\"e-acrdn-icons e-content-icon highjump\"></span> High Jump</li>\n <li><span class=\"e-acrdn-icons e-content-icon longjump\"></span> Long Jump</li>\n </div>\n <div id=\"water_games\" style=\"display:none\">\n <li><span class=\"e-acrdn-icons e-content-icon dive\"></span> Diving</li>\n <li><span class=\"e-acrdn-icons e-content-icon swimming\"></span> Swimming</li>\n <li><span class=\"e-acrdn-icons e-content-icon marathan_swim\"></span> Marathon Swimming</li>\n <li><span class=\"e-acrdn-icons e-content-icon sync_swim\"></span> Synchronized Swimming</li>\n <li><span class=\"e-acrdn-icons e-content-icon waterpolo\"></span> Water Polo</li>\n </div>\n <div id=\"racing_games\" style=\"display:none\">\n <li><span class=\"e-acrdn-icons e-content-icon cycle_BMX\"></span> Cycling BMX</li>\n <li> <span class=\"e-acrdn-icons e-content-icon cycle_Mountain\"></span> Cycling Mountain Bike</li>\n <li> <span class=\"e-acrdn-icons e-content-icon cycle\"></span> Cycle Racing</li>\n <li> <span class=\"e-acrdn-icons e-content-icon sailing\"></span> Sailing</li>\n <li> <span class=\"e-acrdn-icons e-content-icon rowing\"></span> Rowing</li>\n </div>\n <div id=\"indoor_games\" style=\"display:none\">\n <li><span class=\"e-acrdn-icons e-content-icon tennis\"></span> Table Tennis</li>\n <li> <span class=\"e-acrdn-icons e-content-icon badminton\"></span> Badminton</li>\n <li> <span class=\"e-acrdn-icons e-content-icon volleyball\"></span> Volleyball</li>\n <li> <span class=\"e-acrdn-icons e-content-icon boxing\"></span> Boxing</li>\n <li> <span class=\"e-acrdn-icons e-content-icon swimming_In\"></span> Swimming</li>\n </div>\n</div>\n\n\n","index.js":"{{ripple}}/**\n * Accordion Icon Sample\n */\n\n //Initialize Accordion component\n var accordion = new ej.navigations.Accordion({\n items: window.data\n });\n //Render initialized Accordion component\n accordion.appendTo('#Accordion_icon');\n"}

0 commit comments

Comments
 (0)