Class: Simple

munchkin~ws.ui. Simple

new Simple()

Manage `.simple` HTML components.
Version:
  • 1.0.0
Author:
  • Bruno Lesieur
Source:

Members

className :string

The original name of component.
Type:
  • string
Default Value:
  • "simple"
Source:

Methods

toggleContent(sendersSelectoropt, targetsSelectoropt, eventListeneropt)

Show the i-th (base-0) `.simple.as-toggles` content and Hide others when you click on the i-th `.simple-tabs .btn` with an `.is-active` toggle class on the senders and. with an `.is-displayed` toggle class on the targets.
Parameters:
Name Type Attributes Description
sendersSelector string <optional>
Select alternative Sender HTML Components to apply the behavior.
targetsSelector string <optional>
Select alternative Target HTML Components to apply the behavior.
eventListener string <optional>
Select alternative Event to perform the behavior.
Source: