Skip to content

Commit

Permalink
Merge pull request #4 from aras-digital/feature/iframe-added
Browse files Browse the repository at this point in the history
readme.md added
  • Loading branch information
sefakeremkocakoglu authored Jun 4, 2024
2 parents 341d64f + 1b4c848 commit e4208e7
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
31 changes: 31 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# 🔍 Adx Barcodes

Adx barcode scanning web application

## 🛠️ Usage


### Static Html

```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Parent Page</title>
</head>
<body>
<h1>Ana Sayfa</h1>
<iframe src="zbar-wasm/index.html" style="width: 600px; height: 400px;"></iframe>
<script>
window.addEventListener('message', (event) => {
alert(`İframe'den gelen mesaj: ${event.data.value}`);
}, false);
</script>
</body>
</html>

```
---
# 🚀 Demo
[https://aras-digital.github.io/adx-barcodes/](https://aras-digital.github.io/adx-barcodes/)

0 comments on commit e4208e7

Please sign in to comment.