Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5bcf49f

Browse files
authored
Update README.md
1 parenta6556d3 commit5bcf49f

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

‎README.md‎

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#ngx-content-loading v0.0.6
1+
#ngx-content-loading v0.0.7
22

33
Angular component to create SVG loading placeholders. Inspired by the awesome[React Content Loader](https://github.com/danilowoz/react-content-loader).
44

@@ -77,6 +77,31 @@ export class AppModule {}
7777
| secondaryColor|_String_|`#ecebeb`| Animation color|
7878
| preserveAspectRatio|_String_|`xMidYMid meet`| Aspect ratio option of SVG|
7979

80+
81+
###Transclude elements before and after the SVG element
82+
83+
```html
84+
<ngx-content-loading
85+
[speed]="'1500ms'"
86+
[width]="1000"
87+
[height]="300"
88+
[primaryColor]="'#222'"
89+
[secondaryColor]="'#5e5e5e'">
90+
<bbefore-svg>
91+
I am transcluded before the svg
92+
</b>
93+
<svg:gngx-circlecy="30"cx="30"r="30"ry="5"></svg:g>
94+
<svg:gngx-rectwidth="150"height="10"y="10"x="70"rx="5"ry="5"></svg:g>
95+
<svg:gngx-rectwidth="90"height="10"y="40"x="70"rx="5"ry="5"></svg:g>
96+
<svg:gngx-rectwidth="210"height="10"y="70"x="0"rx="5"ry="5"></svg:g>
97+
<svg:gngx-rectwidth="240"height="10"y="100"x="0"rx="5"ry="5"></svg:g>
98+
99+
<bafter-svg>
100+
I am transcluded after the svg
101+
</b>
102+
</ngx-content-loading>
103+
```
104+
80105
##Development
81106

82107
Fork the repo then clone it

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp