bricks/examples/image.html
2023-09-14 10:28:07 +08:00

28 lines
465 B
HTML
Executable File

<html>
<head>
<link rel="stylesheet" href="http://kimird.com/bricks/css/bricks.css">
</head>
<body>
<script src="http://kimird.com/bricks/bricks.js"></script>
<script>
const opts =
{
"widget": {
"widgettype":"Image",
"options":{
"url":"https://cdn.pixabay.com/photo/2018/04/26/16/31/marine-3352341_960_720.jpg",
"height":"100%",
"width":"100%"
}
}
}
;
const app = new BricksApp(opts);
app.run();
</script>
</body>
</html>