Skip to content

Commit e5299c2

Browse files
authored
Merge pull request #32 from olleolleolle/patch-1
README: API docs bullets actually sub-bullets
2 parents c4e6c93 + f171026 commit e5299c2

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -52,25 +52,25 @@ v1.3.x is implemented as a service and controllers are no longer used.
5252

5353
## API
5454

55-
* isLoading
56-
* A boolean property that the component observes to determine if it should display or hide.
57-
* duration
58-
* An approximate duration of the event in milliseconds. Defaults to `300`.
59-
Once 75% of this specified duration passes (or if the animation reaches 66%
60-
of the viewport width the animation slows until either isLoaded changes to
61-
false or it reaches 100% of the viewport width. This option is only valid for the
62-
simple stripe animation.
63-
* color
64-
* A css color to use for the animation stripe. Defaults to `red`. Can also be
65-
set with your application's css by setting the background-color of
66-
.loading-slider > span. If `expanding` is set to `true` then `color` is required
67-
and must be an array of colors.
68-
* expanding
69-
* Set this to `true` to change the style of animation from a simple stripe
70-
to a more complex animation (see the demo).
71-
* speed
72-
* Set the speed of the expanding style animation. Defaults to `1000`. Only valid
73-
when `expanding` is true.
55+
* `isLoading`
56+
* A boolean property that the component observes to determine if it should display or hide.
57+
* `duration`
58+
* An approximate duration of the event in milliseconds. Defaults to `300`.
59+
Once 75% of this specified duration passes (or if the animation reaches 66%
60+
of the viewport width the animation slows until either `isLoaded` changes to
61+
`false` or it reaches 100% of the viewport width. This option is only valid for the
62+
simple stripe animation.
63+
* `color`
64+
* A css color to use for the animation stripe. Defaults to `red`. Can also be
65+
set with your application's css by setting the background-color of
66+
.loading-slider > span. If `expanding` is set to `true` then `color` is required
67+
and must be an array of colors.
68+
* `expanding`
69+
* Set this to `true` to change the style of animation from a simple stripe
70+
to a more complex animation (see the demo).
71+
* `speed`
72+
* Set the speed of the expanding style animation. Defaults to `1000`. Only valid
73+
when `expanding` is true.
7474

7575
## Service API
7676

0 commit comments

Comments
 (0)