Created
May 23, 2020 12:30
-
-
Save ozcanzaferayan/66e1f7e52d1e8ac3d920f52e3b141a66 to your computer and use it in GitHub Desktop.
Alpine sample
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
<div x-data="{ open: false }"> | |
<span>Filmin sonunda kimsenin beklemediği bir şey oluyor: </span></br> | |
<button | |
@click="open = true" | |
x-text="open ? 'Gizle' : 'Spoiler göster'" | |
></button> | |
<span x-show="open" @click.away="open = false"> | |
🗻🛳🔽👩👱❄️Titanik batıyor | |
</span> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment