This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const chartTemplate = ` | |
<ext-cartesian | |
width="1000px" | |
height="600px" | |
downloadServerUrl="http://svg.sencha.io" | |
shadow="true" | |
insetPadding="25 35 0 10" | |
axes='[{ | |
"type": "numeric" , | |
"position": "left" , |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Sample ExtWebComponents</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=10, user-scalable=yes"> | |
</head> | |
<body> | |
<!-- ### (OR) 2. Define the view's html --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SenchaComponentsIndex extends HTMLElement { | |
constructor() { | |
super(); | |
let shadowRoot = this.attachShadow({ mode: 'open' }); | |
this.shadowRoot.innerHTML = ` | |
<style> | |
.components_index_component { | |
padding-left: 20px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>${component_title}</title> | |
<!-- Font --> | |
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet"> | |
<!-- Icons --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var htmlTemplate = ` | |
<style> | |
html, | |
body { | |
font-family: 'Roboto', sans-serif; | |
} | |
.example { | |
border: 1px solid gray; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>${component_title}</title> | |
<!-- Font --> | |
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet"> | |
</head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>${component_title}</title> | |
<!-- Font --> | |
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet"> | |
<!-- Icons --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Debug App", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ext-cartesian | |
width="1000px" | |
height="600px" | |
downloadServerUrl="http://svg.sencha.io" | |
shadow="true" | |
insetPadding="25 35 0 10" | |
axes='[{ | |
"type": "numeric" , | |
"position": "left" , | |
"fields": [ "1. open" ], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ext-cartesian | |
width="500px" | |
height="500px" | |
downloadServerUrl="http://svg.sencha.io" | |
shadow="true" | |
insetPadding="25 35 0 10" | |
axes='[{ | |
"type": "numeric" , | |
"position": "left" , | |
"fields": ["g1", "g2" , "g3" , "g4" , "g5" , "g6" ], |