File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
ej2-asp-core-mvc/code-snippet/barcode/qrcode/logo Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
- <ejs-qrcodegenerator id="container" width="200px" height="150px" mode="SVG" value="Syncfusion">
2
- <e-qrcodegenerator-logo imageSource="https://www.syncfusion.com/web-stories/wp-content/uploads/sites/2/2022/02/cropped-Syncfusion-logo.png"></e-qrcodegenerator-logo>
3
- </ejs-qrcodegenerator>
1
+ <ejs-qrcodegenerator id="container" width="200px" height="150px" mode="SVG" value="Syncfusion"></ejs-qrcodegenerator>
2
+ <script type="text/javascript">
3
+ document.addEventListener('DOMContentLoaded', function () {
4
+ var barcode = document.getElementById("container").ej2_instances[0];
5
+ barcode.logo = { imageSource:
6
+ 'https://www.syncfusion.com/web-stories/wp-content/uploads/sites/2/2022/02/cropped-Syncfusion-logo.png'};
7
+ });
8
+ </script>
You can’t perform that action at this time.
0 commit comments