Skip to content

Commit

Permalink
Merge pull request #8 from bigBear713/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
bigBear713 authored Apr 25, 2022
2 parents 141765e + e561b83 commit c363540
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions CHANGELOG.EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,43 +8,43 @@
<br/>

# v12.1.0
## [Pipes](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/CHANGELOG.EN.md#Pipes "Pipes")
## [Pipes](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/README.EN.md#Pipes "Pipes")
- feat: [`nbIsBoolean`](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/README.EN.md#nbisboolean-transformvalue-any-value-is-boolean) - Check the value is boolean type
- feat: [`nbIsNumber`](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/README.EN.md#nbisnumber-transformvalue-any-value-is-number) - Check the value is number type
- feat: [`nbIsString`](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/README.EN.md#nbisstring-transformvalue-any-value-is-string) - Check the value is string type

<br/>

## [Directives](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/CHANGELOG.EN.md#Directives "Directives")
### [`[nbPlaceholder]`](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/CHANGELOG.EN.md#nbplaceholder "nbPlaceholder")
## [Directives](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/README.EN.md#Directives "Directives")
### [`[nbPlaceholder]`](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/README.EN.md#nbplaceholder "nbPlaceholder")
- fix: The placeholder attr value will auto be updated in some cases when the changeDetection is `ChangeDetectionStrategy.OnPush`

<br/>

# v12.0.0
## [Module](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/CHANGELOG.EN.md#Module "Module")
## [Module](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/README.EN.md#Module "Module")
- feat: [NbCommonModule](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/README.EN.md#nbcommonmodule) - provide useful `component`, `directive`, `pipe`
- feat: [NbCommonTestingModule](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/README.EN.md#nbcommontestingmodule) - provide the env to unit test
- feat: [getTplRefInstance()](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/README.EN.md#function-gettplrefinstancetestbed-testbedstatic-fixturecomponentfixturecomponent-templatereftestingcomponenttplref-templateref) - Get templateRef's fixture, component, tplRef

<br>

## [Services](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/CHANGELOG.EN.md#Services "Services")
## [Services](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/README.EN.md#Services "Services")
- feat: [NbValueTypeService](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/README.EN.md#nbvaluetypeservice) - provide the function to get the type of value

<br>

## [Components](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/CHANGELOG.EN.md#Components "Components")
## [Components](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/README.EN.md#Components "Components")
- feat: [`[nb-r-str]`](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/README.EN.md#nb-r-str) - render the string content

<br>

## [Directives](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/CHANGELOG.EN.md#Directives "Directives")
## [Directives](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/README.EN.md#Directives "Directives")
- feat: [`[nbPlaceholder]`](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/README.EN.md#nbplaceholder) - Set the value of placeholder attribute

<br>

## [Pipes](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/CHANGELOG.EN.md#Pipes "Pipes")
## [Pipes](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/README.EN.md#Pipes "Pipes")
- feat: [`nbIsAsync`](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/README.EN.md#nbisasync-transformvalue-any-value-is-observableany--promiseany) - check the value is async type
- feat: [`nbIsObservable`](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/README.EN.md#nbisobservable-transformvalue-any-value-is-observableany) - check the value is Observable
- feat: [`nbTplContent`](https://github.com/bigBear713/nb-common/blob/master/projects/nb-common/README.EN.md#nbtplcontent-transformvalue-any-templaterefany--null) - get the TemplateRef content
2 changes: 1 addition & 1 deletion docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
<link rel="stylesheet" href="styles.31d6cfe0d16ae931b73c.css"></head>
<body>
<app-root></app-root>
<script src="runtime.73c23520f07f34793fbb.js" defer></script><script src="polyfills.a8b5230209796a0833b5.js" defer></script><script src="main.2ebe4493ed8661b3f8e2.js" defer></script>
<script src="runtime.63fd01bb27648908ad7b.js" defer></script><script src="polyfills.a8b5230209796a0833b5.js" defer></script><script src="main.2ebe4493ed8661b3f8e2.js" defer></script>

</body></html>
1 change: 1 addition & 0 deletions docs/800.2bbc11d71827bbe71de5.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs/800.fd1da5f88329b1d7e8df.js

This file was deleted.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
<link rel="stylesheet" href="styles.31d6cfe0d16ae931b73c.css"></head>
<body>
<app-root></app-root>
<script src="runtime.73c23520f07f34793fbb.js" defer></script><script src="polyfills.a8b5230209796a0833b5.js" defer></script><script src="main.2ebe4493ed8661b3f8e2.js" defer></script>
<script src="runtime.63fd01bb27648908ad7b.js" defer></script><script src="polyfills.a8b5230209796a0833b5.js" defer></script><script src="main.2ebe4493ed8661b3f8e2.js" defer></script>

</body></html>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/app/img-demo/img-demo.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ export class ImgDemoComponent implements OnInit {

bigImg = 'https://pic2.zhimg.com/v2-77be54b348b0168f3562f51404451aeb_r.jpg';

loadingImg = '/assets/loading.svg'
loadingImg = './assets/loading.svg'

errImg = '/assets/picture.svg';
errImg = './assets/picture.svg';

constructor() { }

Expand Down

0 comments on commit c363540

Please sign in to comment.