Last active
June 2, 2020 15:35
-
-
Save vintprox/bb0afc007a3d4d45617ef74089c8b491 to your computer and use it in GitHub Desktop.
3DDashboard hello world widget
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:widget="http://www.netvibes.com/ns/"> | |
<head> | |
<title>Test Widget</title> | |
<script src="TestWidget.js"></script> | |
<script>require(['DS/TestWidget'])</script> | |
</head> | |
<body></body> | |
</html> |
This file contains 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
define('DS/TestWidget', () => { | |
widget.body.innerHTML = 'Hello World!' | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment