Example of Code Editor Layout in Javascript Splitter Control

/
/
Code Editor Layout

This example demonstrates the splitter control that is used to design code editor-like application using multiple panes. You can resize its panes vertically as well as horizontally.

More Details...

<!DOCTYPE html>
<html>
<body>
<div id="custom-image">
<img src="//ej2.syncfusion.com/demos/src/albert.png" alt="albert">
<div >
</body>
</html>
img {
margin:0 auto;
display:flex;
height:70px;
}
var image = document.getElementById("custom-image");
image.addEventListener("click", function() {
// Code block for click action
}
Description

The Splitter is used to design code editor-like application using multiple panes. In this code editor layout, display HTML, CSS, and JavaScript (JS) code as horizontal panes at the top and output of sample at the bottom pane.