I think the official website is full of typescript code tutorials. It seems that there are no examples of JavaScript use?
Why is my color different from yours?
All colors are pink by default?
<html>
<head>
<link rel="stylesheet" rel='nofollow' href="https://cdn.jsdelivr.net/npm/@syncfusion/[email protected]/styles/material.css">
<script src="https://cdn.jsdelivr.net/npm/@syncfusion/[email protected]/dist/global/ej2-base.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@syncfusion/[email protected]/dist/global/ej2-buttons.min.js"></script>
<link rel="stylesheet" rel='nofollow' href="https://cdn.jsdelivr.net/npm/@syncfusion/[email protected]/styles/material.css">
</head>
<body>
<h2>Essential JS 2 Button</h2>
<!-- Add HTML button element -->
<button id="btn">Button</button>
<button id="warningbtn">Warning</button>
<script>
// Initialize Essential JS 2 JavaScript Button control
var button = new ej.buttons.CheckBox({ label:"test" });
button.appendTo('#btn');
button = new ej.buttons.Button({ cssClass: 'e-primary' });
button.appendTo('#warningbtn');
</script>
</body>
</html>
<head>
<link rel="stylesheet" rel='nofollow' rel='nofollow' href=https://cdn.jsdelivr.net/npm/@syncfusion/[email protected]/styles/bootstrap.css>
</head> |
ej2-buttons.umd.min and
ej2-buttons.min
What's the difference between the two? What does UMD mean?