Skip to content

Updated Javascript samples #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 12 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -252,14 +252,22 @@
<span class='sb-icons sb-theme-select sb-icon-icon-selection'></span>
<span class="switch-text">Tailwind CSS Dark</span>
</li>
<li class='active' id="material" role="listitem">
<li class='e-list' id="material" role="listitem">
<span class='sb-icons sb-theme-select sb-icon-icon-selection'></span>
<span class="switch-text">Material</span>
</li>
<li class="e-list" id="material-dark" role="listitem">
<span class='sb-icons sb-theme-select sb-icon-icon-selection'></span>
<span class="switch-text">Material Dark</span>
</li>
<li class='active' id="material3" role="listitem">
<span class='sb-icons sb-theme-select sb-icon-icon-selection'></span>
<span class="switch-text">Material 3</span>
</li>
<li class="e-list" id="material3-dark" role="listitem">
<span class='sb-icons sb-theme-select sb-icon-icon-selection'></span>
<span class="switch-text">Material 3 Dark</span>
</li>
<li id="fabric" role="listitem">
<span class='sb-icons sb-theme-select sb-icon-icon-selection'></span>
<span class="switch-text">Fabric</span>
Expand Down Expand Up @@ -308,6 +316,8 @@
<option value="tailwind-dark">Tailwind CSS Dark</option>
<option value="material">Material</option>
<option value="material-dark">Material Dark</option>
<option value="material3">Material 3</option>
<option value="material3-dark">Material 3 Dark</option>
<option value="fabric">Fabric</option>
<option value="fabric-dark">Fabric Dark</option>
<option value="bootstrap4">Bootstrap v4</option>
Expand Down Expand Up @@ -404,7 +414,7 @@ <h1 class='sb-sample-text' role="heading" aria-level="1">Chart</h1>
</span>
</div>
<div><span class="sb-icons sb-icon-API"></span><span class="sb-tab-title"> API </span>
</div>
</div>
</div>
<div class="e-content sb-sample-content-area">
<div>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@syncfusion/ej2-javascript-samples",
"version": "21.1.35",
"version": "22.1.34",
"description": "Examples of JavaScript (ES5) UI Controls",
"author": "Syncfusion Inc.",
"license": "SEE LICENSE IN license",
Expand Down
2 changes: 1 addition & 1 deletion src/accordion/default-stack.json
Original file line number Diff line number Diff line change
@@ -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"}
{"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"}
2 changes: 1 addition & 1 deletion src/accordion/icons-stack.json
Original file line number Diff line number Diff line change
@@ -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"}
{"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"}
Loading