Module wicket.bootstrap.core
Class PopoverConfig
java.lang.Object
de.agilecoders.wicket.jquery.CombinableConfig
de.agilecoders.wicket.jquery.AbstractConfig
de.agilecoders.wicket.core.markup.html.bootstrap.components.TooltipConfig
de.agilecoders.wicket.core.markup.html.bootstrap.components.PopoverConfig
- All Implemented Interfaces:
de.agilecoders.wicket.jquery.Config,Serializable,IClusterable
PopoverBehavior configuration- Author:
- miha
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.agilecoders.wicket.core.markup.html.bootstrap.components.TooltipConfig
TooltipConfig.IPlacement, TooltipConfig.OpenTrigger, TooltipConfig.Placement -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionwithAnimation(boolean value) apply a css fade transition to the tooltipwithContent(String value) default content value if `data-bs-content` attribute isn't presentdelay showing and hiding the tooltip (ms) - does not apply to manual trigger typewithHtml(boolean value) Insert html into the tooltip.how to position the tooltip - top | bottom | left | rightwithSanitizer(boolean value) Controls Bootstrap's internal sanitizer.withSelector(String value) If a selector is provided, tooltip objects will be delegated to the specified targets.default title value if `title` tag isn't presenthow tooltip is triggered - click | hover | focus | manualMethods inherited from class de.agilecoders.wicket.jquery.AbstractConfig
all, contains, get, getString, isEmpty, newKey, put, remove, toJsonString, wrapMethods inherited from class de.agilecoders.wicket.jquery.CombinableConfig
combine, withFallback
-
Constructor Details
-
PopoverConfig
public PopoverConfig()
-
-
Method Details
-
withPlacement
Description copied from class:TooltipConfighow to position the tooltip - top | bottom | left | right- Overrides:
withPlacementin classTooltipConfig- Parameters:
value- mandatory parameter- Returns:
- this instance for chaining.
-
withTrigger
Description copied from class:TooltipConfighow tooltip is triggered - click | hover | focus | manual- Overrides:
withTriggerin classTooltipConfig- Parameters:
value- mandatory parameter- Returns:
- this instance for chaining.
-
withHoverTrigger
-
withAnimation
Description copied from class:TooltipConfigapply a css fade transition to the tooltip- Overrides:
withAnimationin classTooltipConfig- Parameters:
value- mandatory parameter- Returns:
- this instance for chaining.
-
withSelector
Description copied from class:TooltipConfigIf a selector is provided, tooltip objects will be delegated to the specified targets.- Overrides:
withSelectorin classTooltipConfig- Parameters:
value- mandatory parameter- Returns:
- this instance for chaining.
-
withTitle
Description copied from class:TooltipConfigdefault title value if `title` tag isn't present- Overrides:
withTitlein classTooltipConfig- Parameters:
value- mandatory parameter- Returns:
- this instance for chaining.
-
withContent
Description copied from class:TooltipConfigdefault content value if `data-bs-content` attribute isn't present- Overrides:
withContentin classTooltipConfig- Parameters:
value- mandatory parameter- Returns:
- this instance for chaining.
-
withDelay
Description copied from class:TooltipConfigdelay showing and hiding the tooltip (ms) - does not apply to manual trigger type Not implemented: If a number is supplied, delay is applied to both hide/show Object structure is: delay: { show: 500, hide: 100 }- Overrides:
withDelayin classTooltipConfig- Parameters:
value- mandatory parameter- Returns:
- this instance for chaining.
-
withHtml
Description copied from class:TooltipConfigInsert html into the tooltip. If false, jquery's text method will be used to insert content into the dom. Use text if you're worried about XSS attacks.- Overrides:
withHtmlin classTooltipConfig- Parameters:
value- mandatory parameter- Returns:
- this instance for chaining.
-
withSanitizer
Description copied from class:TooltipConfigControls Bootstrap's internal sanitizer.- Overrides:
withSanitizerin classTooltipConfig- Parameters:
value- mandatory parameter- Returns:
- this instance for chaining.
-