Class: BootstrapFeedback

BootstrapFeedback

Feedback template styled with bootstrap

Constructor

new BootstrapFeedback(optionsopt)

Constructor
Parameters:
Name Type Attributes Description
options object <optional>
Source:

Extends

Methods

_animateFeedback(cls, text, iconopt) → {Feedback}

Set the feedback elegantly
Parameters:
Name Type Attributes Description
cls string wrapper class to set
text jQuery | string text to show
icon jQuery | string <optional>
icon to show. If not passed, uses a default glyphicon
Overrides:
Source:
Returns:
Type
Feedback

_setClass(cls) → {BootstrapFeedback}

Set the class using of the feedback Automatically removes other "alert-" classes and prepends "alert-" to the new class
Parameters:
Name Type Description
cls string the alert- bootstrap class to set
Overrides:
Source:
Returns:
Type
BootstrapFeedback

setFeedback(cls, text, iconopt) → {Feedback}

Set the feedback and show the wrapper if it is hidden
Parameters:
Name Type Attributes Description
cls string wrapper class to set
text jQuery | string text to show
icon jQuery | string <optional>
icon to show
Overrides:
Source:
Returns:
Type
Feedback