You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The active? method of a link setting type will be true if:
the link setting has the page type AND it points the current maglev page
Example:
<% maglev_block.children.each do |item| %><%= item.wrapper_tag.li do %><%= item :link, class: ['text-sm', 'font-bold' if item.settings.link.active?] %><% end %><% end %>
The text was updated successfully, but these errors were encountered:
The
active?
method of a link setting type will be true if:Example:
The text was updated successfully, but these errors were encountered: