Class: Shadcn::Combobox::Empty::Component

Inherits:
ApplicationViewComponent show all
Defined in:
app/components/shadcn/combobox/empty/component.rb

Overview

Shown when the filter leaves nothing. Upstream shows it with CSS alone — hidden … group-data-empty/combobox-content:flex — so the controller only has to put data-empty on the content, and this element needs no state of its own.

Constant Summary

Constants inherited from ApplicationViewComponent

ApplicationViewComponent::CONTENTS_STYLE, ApplicationViewComponent::VOID_TAGS

Instance Attribute Summary

Attributes inherited from ApplicationViewComponent

#attributes

Method Summary

Methods inherited from ApplicationViewComponent

#call, #css_classes, default_tag, #element_attributes, #initialize, #merged_style, #render_element, #shadcn_t, slot_name, #style_variants, #tag_name

Constructor Details

This class inherits a constructor from Shadcn::ApplicationViewComponent