DaisyUIComponents.JSHelpers (DaisyUIComponents v0.8.1)
View SourceCommon JS functions from Phoenix Core Components.
Summary
Functions
Hides an element specified by the selector with a transition effect.
Shows the specified element with a smooth transition effect.
Functions
Hides an element specified by the selector with a transition effect.
Parameters
- js - an optional composable JS script which will be executed.
- selector - the CSS selector of the element to be hidden.
Description
Executes a hide action on the specified element with a transition effect.
Shows the specified element with a smooth transition effect.
Parameters
- js - an optional composable JS script which will be executed.
- selector - the CSS selector of the element to be shown.
Description
Applies a transition effect to the selected element, altering its opacity and position over a specified duration.