wire:transition
Basic Usage
// wires/Dashboard.bx
class extends="cbwire.models.Component" {
data = {
"showStats": false,
"showNotifications": false,
"showModal": false
};
function toggleStats() {
data.showStats = !data.showStats;
}
function toggleNotifications() {
data.showNotifications = !data.showNotifications;
}
function showModal() {
data.showModal = true;
}
function closeModal() {
data.showModal = false;
}
}What wire:transition Does
Available Modifiers
Troubleshooting
Transitions Not Working
Limitations
Was this helpful?