Class: PhlexKit::InputOtpGroup

Inherits:
BaseComponent show all
Defined in:
app/components/phlex_kit/input_otp/input_otp_group.rb

Overview

Joined run of OTP slots. See input_otp.rb.

Instance Method Summary collapse

Methods inherited from BaseComponent

#on

Constructor Details

#initialize(**attrs) ⇒ InputOtpGroup

Returns a new instance of InputOtpGroup.



4
# File 'app/components/phlex_kit/input_otp/input_otp_group.rb', line 4

def initialize(**attrs) = (@attrs = attrs)

Instance Method Details

#view_templateObject



5
# File 'app/components/phlex_kit/input_otp/input_otp_group.rb', line 5

def view_template(&) = div(**mix({ class: "pk-input-otp-group" }, @attrs), &)