diff --git a/hello-world/angular/README.md b/hello-world/angular/README.md index c299ec0b..fadb663a 100644 --- a/hello-world/angular/README.md +++ b/hello-world/angular/README.md @@ -57,7 +57,7 @@ Below is the configuration used for this sample. ```cmd cd my-app -npm install dynamsoft-barcode-reader-bundle +npm install dynamsoft-barcode-reader-bundle -E ``` ## Start to implement @@ -348,7 +348,7 @@ export class ImageCaptureComponent {

Hello World for Angular

-
+
diff --git a/hello-world/angular/src/app/app.component.css b/hello-world/angular/src/app/app.component.css index e3a585fd..0ecbfcfd 100644 --- a/hello-world/angular/src/app/app.component.css +++ b/hello-world/angular/src/app/app.component.css @@ -4,30 +4,30 @@ align-items: center; margin-top: 20px; } -.top-btns { +.buttons-container { width: 30%; margin: 20px auto; } -.top-btns button { +.buttons-container button { display: inline-block; border: 1px solid black; padding: 5px 15px; background-color: transparent; cursor: pointer; } -.top-btns button:first-child { +.buttons-container button:first-child { border-top-left-radius: 10px; border-bottom-left-radius: 10px; border-right: transparent; } -.top-btns button:nth-child(2) { +.buttons-container button:nth-child(2) { border-top-right-radius: 10px; border-bottom-right-radius: 10px; border-left: transparent; } @media screen and (max-width: 800px) { - .top-btns { + .buttons-container { width: 70%; } } diff --git a/hello-world/angular/src/app/app.component.html b/hello-world/angular/src/app/app.component.html index 8b8e0de7..e48bd9d9 100644 --- a/hello-world/angular/src/app/app.component.html +++ b/hello-world/angular/src/app/app.component.html @@ -2,7 +2,7 @@

Hello World for Angular

-
+
diff --git a/hello-world/angular/src/app/video-capture/video-capture.component.css b/hello-world/angular/src/app/video-capture/video-capture.component.css index 465e054e..86184aac 100644 --- a/hello-world/angular/src/app/video-capture/video-capture.component.css +++ b/hello-world/angular/src/app/video-capture/video-capture.component.css @@ -7,4 +7,5 @@ width: 100%; height: 10vh; overflow: auto; + white-space: pre-wrap; } diff --git a/hello-world/es6.html b/hello-world/es6.html index a8694690..60faa2fb 100644 --- a/hello-world/es6.html +++ b/hello-world/es6.html @@ -13,7 +13,7 @@

Hello World for ES6 (Decode via Camera)

Results:
-
+
- - - - ``` > Note: > @@ -226,7 +203,7 @@ onBeforeUnmount(async () => { ### Edit the `ImageCapture` component -* In `ImageCapture.client.vue`, add code for initializing and destroying the `CaptureVisionRouter` instance. The `ImageCapture` helps decode barcodes in an image. +* In `ImageCapture.client.vue`, add code for initializing and destroying the `CaptureVisionRouter` instance. The `ImageCapture` helps decode barcodes in an image. For our stylesheet (CSS) specification, please refer to our [source code](#Official-Sample). ```vue @@ -296,35 +273,13 @@ onBeforeUnmount(async () => {
- - ``` ### Add `VideoCapture` and `ImageCapture` components in `app.vue` * On `/app.vue`, we will edit the component so that it offers buttons to switch components between `VideoCapture` and `ImageCapture`. -* Add following code to `app.vue`. +* Add following code to `app.vue`. For our stylesheet (CSS) specification, please refer to our [source code](#Official-Sample). ```vue @@ -333,7 +288,7 @@ onBeforeUnmount(async () => {

Hello World for NuxtJS

-
+
-
+