VulpesOS/gaia/shared/elements/gaia-site-icon/examples/basic.html
OverSu b38dea0597 Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
2026-09-30 23:13:03 +02:00

31 lines
573 B
HTML
Executable file

<!DOCTYPE html>
<html>
<head>
<title>GaiaAppIcon demo</title>
<script src="../script.js"></script>
<style>
gaia-app-icon {
width: 256px;
}
</style>
</head>
<body>
<gaia-app-icon id="icon"></gaia-app-icon>
</body>
<script>
// TODO: This example doesn't work anymore, icon takes an app and uses
// app.manifest, app.launch and navigator.mozApps.mgmt.getIcon.
var icon = document.getElementById('icon');
icon.manifest = {
name: 'GaiaAppIcon test',
origin: '',
icons: {
'284': 'icon.png'
}
};
</script>
</html>