Last active
August 1, 2023 20:10
-
-
Save wallacemaxters/3ae3ed6dfab28863f2bd4099d6ee388e to your computer and use it in GitHub Desktop.
Reusable component to easy use atropos in laravel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- main Atropos container (required), add your custom class here --> | |
<div {{ $attributes->class('atropos') }}> | |
<!-- scale container (required) --> | |
<div class="atropos-scale"> | |
<!-- rotate container (required) --> | |
<div class="atropos-rotate"> | |
<!-- inner container (required) --> | |
<div class="atropos-inner"> | |
{{ $slot }} | |
</div> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Javascript
app.ts
:To use Atropos in Laravel: