Module: Formular::Element::Modules::Container

Includes:
Formular::Element::Module
Included in:
Bootstrap3::InputGroup, Foundation6::InputGroup, Textarea
Defined in:
lib/formular/element/modules/container.rb

Overview

this module is used for element that contain something e.g. <label>Label Words</label> it is designed to accept content as a string (via the :content option) or as a block Alternatively you can produce blockless content by making use of the #start and #end methods e.g.

element = Container.() element.start add your own content element.end

Defined Under Namespace

Modules: InstanceMethods

Method Summary

Methods included from Formular::Element::Module

included