Skip to content

Commit

Permalink
fix: fixing custom-content class styles
Browse files Browse the repository at this point in the history
  • Loading branch information
willmendesneto committed Sep 30, 2022
1 parent 89665b2 commit 2aed05b
Show file tree
Hide file tree
Showing 4 changed files with 15,530 additions and 11 deletions.
11 changes: 7 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased][]

### Added

- Adding new `custom-content` appearance. From now on, consumers can now add their own content inside `<ng-skeleton-loader></ng-skeleton-loader>` component. So that, they can add some custom content, such as SVG, as an example
- Adding examples for `custom-content` usage

## [6.0.0][] - 2022-08-18

### Updated
Expand Down Expand Up @@ -506,7 +511,5 @@ Now we can define the animation we want to use in `<ngx-skeleton-loader>` compon
[3.0.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v3.0.0
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v5.0.0...HEAD
[5.0.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v5.0.0


[Unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v6.0.0...HEAD
[6.0.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v6.0.0
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v6.0.0...HEAD
[6.0.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v6.0.0
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ You can also define which appearance want to use in your skeleton loader by pass
- `''` - _default_: it will use it `''` as appearance. At the end, it will render like a line;
- `line`: it will render like a line. This is the same behavior as passing an empty string;
- `circle`: it will use `circle` as appearance. Great for avatar skeletons, for example :);
- `custom-content`: it will NOT add any appearance. Great for custom content, such as SVG, internal components and such;

## Animations

Expand Down
Loading

0 comments on commit 2aed05b

Please sign in to comment.