Skip to content

Commit

Permalink
0.1.1
Browse files Browse the repository at this point in the history
Co-authored-by: MVP Bot <[email protected]>
Co-authored-by: Kasper Lahti <[email protected]>
  • Loading branch information
3 people authored Oct 27, 2022
1 parent 2f17435 commit c51ab74
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ let package = Package(
targets: [
.binaryTarget(
name: "Pow",
url: "https://packages.movingparts.io/binaries/pow/0.1.0/Pow.xcframework.zip",
checksum: "27bfbae340405068387782b4f3712b58fa07225003c85c347f4d3c2122df8507"
url: "https://packages.movingparts.io/binaries/pow/0.1.1/Pow.xcframework.zip",
checksum: "5ae07875130ecb40d9310460b13da6aaa6f783d1e6e9af88b7c96a1ba32fd22a"
),
]
)
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,26 @@ The shine moves from the top leading edge to bottom trailing edge.
static var shine: AnyChangeEffect
```

Highlights the view with a shine moving over the view.

The shine moves from the top leading edge to bottom trailing edge.

```swift
static func shine(duration: Double) -> AnyChangeEffect
```

Highlights the view with a shine moving over the view.

The angle is relative to the current `layoutDirection`, such that 0° represents sweeping towards the trailing edge and 90° represents sweeping towards the top edge.

- Parameters:
- `angle`: The angle of the animation.
- `duration`: The duration of the animation.

```swift
static func shine(angle: Angle, duration: Double = 1.0) -> AnyChangeEffect
```

### Spin

[Preview](https://movingparts.io/pow/#spin)
Expand Down

0 comments on commit c51ab74

Please sign in to comment.