Skip to content
Snippets Groups Projects
Commit 80e092a8 authored by Xiao Gui's avatar Xiao Gui
Browse files

feat: added d3 to support library, added scratch pad

parent 9f3fa1d6
No related branches found
No related tags found
No related merge requests found
......@@ -239,5 +239,6 @@ export const SUPPORT_LIBRARY_MAP : Map<string,HTMLElement> = new Map([
['react@16',parseURLToElement('https://unpkg.com/react@16/umd/react.development.js')],
['reactdom@16',parseURLToElement('https://unpkg.com/react-dom@16/umd/react-dom.development.js')],
['vue@2.5.16',parseURLToElement('https://cdn.jsdelivr.net/npm/vue@2.5.16/dist/vue.js')],
['preact@8.4.2',parseURLToElement('https://cdn.jsdelivr.net/npm/preact@8.4.2/dist/preact.min.js')]
['preact@8.4.2',parseURLToElement('https://cdn.jsdelivr.net/npm/preact@8.4.2/dist/preact.min.js')],
['d3@5.7.0',parseURLToElement('https://cdnjs.cloudflare.com/ajax/libs/d3/5.7.0/d3.min.js')]
])
......@@ -172,3 +172,13 @@ div[mobileObliqueGuide]
flex-direction: column;
align-items: center;
}
div#scratch-pad
{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
}
\ No newline at end of file
......@@ -127,6 +127,10 @@
</div>
</layout-floating-container>
<div id="scratch-pad">
</div>
<mobile-overlay
*ngIf = "isMobile && viewerLoaded"
[tunableProperties] = "tunableMobileProperties"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment