This repository was archived by the owner on Jul 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdefault.js
More file actions
67 lines (67 loc) · 5.04 KB
/
default.js
File metadata and controls
67 lines (67 loc) · 5.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
var React = require("react");
var ej2_react_navigations_1 = require("@syncfusion/ej2-react-navigations");
var sample_base_1 = require("../common/sample-base");
var Default = (function (_super) {
__extends(Default, _super);
function Default() {
return _super !== null && _super.apply(this, arguments) || this;
}
Default.prototype.render = function () {
function acrdnheader1() {
return (React.createElement("div", null, "ASP.NET"));
}
function acrdnheader2() {
return (React.createElement("div", null, "ASP.NET MVC"));
}
function acrdnheader3() {
return (React.createElement("div", null, "JavaScript"));
}
function acrdnContent1() {
return (React.createElement("div", null, "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."));
}
function acrdnContent2() {
return (React.createElement("div", null, "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."));
}
function acrdnContent3() {
return (React.createElement("div", null, "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."));
}
return (React.createElement("div", { className: 'control-pane' },
React.createElement("div", { className: 'control-section accordion-control-section' },
React.createElement("div", { className: 'control Accordion-sample', style: { margin: '25px 0' } },
React.createElement(ej2_react_navigations_1.AccordionComponent, null,
React.createElement(ej2_react_navigations_1.AccordionItemsDirective, null,
React.createElement(ej2_react_navigations_1.AccordionItemDirective, { header: acrdnheader1, expanded: true, content: acrdnContent1 }),
React.createElement(ej2_react_navigations_1.AccordionItemDirective, { header: acrdnheader2, content: acrdnContent2 }),
React.createElement(ej2_react_navigations_1.AccordionItemDirective, { header: acrdnheader3, content: acrdnContent3 }))))),
React.createElement("div", { id: "action-description" },
React.createElement("p", null,
"This sample demonstrates the default functionalities of the ",
React.createElement("code", null, "Accordion"),
". Click on the ",
React.createElement("code", null, "header"),
" element to expand/collapse the corresponding Accordion panel, and displays its content.")),
React.createElement("div", { id: 'description' },
React.createElement("p", null,
"The Accordion is a vertically collapsible content panel which is displaying panels, one or multiple at a time within the available space. This sample illustrates the simple Accordion rendering with ",
React.createElement("code", null, "multiple"),
" expand mode."),
React.createElement("p", null,
"More information about Accordion can be found in this ",
React.createElement("a", { target: "_blank", href: "http://ej2.syncfusion.com/react/documentation/accordion/getting-started.html" }, "documentation"),
" section."))));
};
return Default;
}(sample_base_1.SampleBase));
exports.Default = Default;