You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ This **completely bonkers** string will calculate _just_ the `x` position of a t
14
14
This package allows you to build these string in a fluent way that's easily maintainable in a way that feels familiar to php and Laravel devs. The following example will output the exact same string as above, but imagine how much easier it'll be to change:
15
15
```php
16
16
$finalXpos = '(w*7/8)-text_w';
17
-
$posX = (new Tween)
17
+
$x = (new Tween())
18
18
->from("{$finalXpos}-200")
19
19
->to($finalXpos)
20
20
->delay(Timing::seconds(5))
@@ -41,8 +41,16 @@ For now this package can only be used within a Laravel app, but there are plans
0 commit comments