File "action-message.blade.php"

Full Path: /home/fundopuh/trader.fxex.org/vendor/laravel/jetstream/resources/views/components/action-message.blade.php
File size: 452 bytes
MIME-type: text/plain
Charset: utf-8

@props(['on'])

<div x-data="{ shown: false, timeout: null }"
    x-init="@this.on('{{ $on }}', () => { clearTimeout(timeout); shown = true; timeout = setTimeout(() => { shown = false }, 2000);  })"
    x-show.transition.out.opacity.duration.1500ms="shown"
    x-transition:leave.opacity.duration.1500ms
    style="display: none;"
    {{ $attributes->merge(['class' => 'text-sm text-gray-600']) }}>
    {{ $slot->isEmpty() ? 'Saved.' : $slot }}
</div>