πŸ‘»
VILT Stack Generator
CtrlK
  • Get Started
    • πŸ‘»Overview
    • πŸ’»Environment Setup
    • πŸš€Install
  • Generate
    • 🧠Resource
    • πŸ”₯Action
    • 🧩Modal
    • πŸ“ˆWidget
    • πŸ“Route
    • πŸ–₯️Views
    • πŸ”’Roles
  • Resource
    • πŸ”¦Using
    • πŸͺHooks
    • πŸ“€Import & Export
  • Builders
    • πŸ”‘Form
    • πŸ“ΊTable
    • πŸ“„Page
  • Components
    • πŸ’«Using
    • πŸ†ŽText
    • πŸ”€Textarea
    • πŸ” Rich
    • πŸ”’Number
    • πŸ“žTel
    • βœ‰οΈEmail
    • πŸ”„Toggle
    • πŸ–ŒοΈColor
    • πŸ“…Date
    • βŒ›Time
    • ⏲️DateTime
    • ⚑Select
    • πŸ”Repeater
    • πŸ“‘Schema
    • ✨Section
    • πŸ–ΌοΈMedia
    • πŸ’ŸHasOne
    • 🎁Relation
  • Managers
    • πŸ”€Translation
    • πŸ“–Menu
    • ♠️Share
  • Helpers
    • ⚠️Alert
    • πŸ’»Render
    • 🌠Actions
    • 🌟Modal
  • Plugins
    • πŸ”€Translations
    • πŸ“€Settings
    • πŸ“–Menus
    • πŸ””Notifications
    • πŸ’³Payment
    • πŸ—οΈBuild Plugins
  • Learning
    • πŸ™Task To Get Start
    • 🚨CI/CD
    • πŸ¦„Awesome TailwindCSS
Powered by GitBook
On this page
  1. Helpers

⚠️Alert

we have create a magic class for make a toster alert useing session() the class takes the message and the type and handle it on the frontend.

Using

To use the Alert class it easy at the end of any method you can clickable

return Alert::make(__('Your Message'))->type('success')->fire();

the method has 2 type success , danger to handle response

PreviousShareNextRender

Last updated 2 years ago