Class: LightningUiKit::SkeletonComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- LightningUiKit::SkeletonComponent
- Defined in:
- app/components/lightning_ui_kit/skeleton_component.rb
Instance Method Summary collapse
-
#initialize(with_title: false, lines: 3) ⇒ SkeletonComponent
constructor
A new instance of SkeletonComponent.
Methods inherited from BaseComponent
Methods included from HeroiconHelper
Constructor Details
#initialize(with_title: false, lines: 3) ⇒ SkeletonComponent
Returns a new instance of SkeletonComponent.
2 3 4 5 |
# File 'app/components/lightning_ui_kit/skeleton_component.rb', line 2 def initialize(with_title: false, lines: 3) @with_title = with_title @lines = lines end |