public class PopoverConfig extends TooltipConfig
PopoverBehavior configurationTooltipConfig.IPlacement, TooltipConfig.OpenTrigger, TooltipConfig.PlacementAbstractConfig.IKey<T>| Constructor and Description |
|---|
PopoverConfig() |
| Modifier and Type | Method and Description |
|---|---|
PopoverConfig |
withAnimation(boolean value)
apply a css fade transition to the tooltip
|
PopoverConfig |
withContent(String value)
default content value if `data-content` attribute isn't present
|
PopoverConfig |
withDelay(org.apache.wicket.util.time.Duration value)
delay 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 }
|
PopoverConfig |
withHoverTrigger() |
PopoverConfig |
withHtml(boolean value)
Insert html into the tooltip.
|
PopoverConfig |
withPlacement(TooltipConfig.IPlacement value)
how to position the tooltip - top | bottom | left | right
|
PopoverConfig |
withSelector(String value)
If a selector is provided, tooltip objects will be delegated to the specified targets.
|
PopoverConfig |
withTitle(String value)
default title value if `title` tag isn't present
|
PopoverConfig |
withTrigger(TooltipConfig.OpenTrigger value)
how tooltip is triggered - click | hover | focus | manual
|
all, getString, isEmpty, newKey, put, remove, toJsonString, wrappublic PopoverConfig withPlacement(TooltipConfig.IPlacement value)
TooltipConfigwithPlacement in class TooltipConfigvalue - mandatory parameterpublic PopoverConfig withTrigger(TooltipConfig.OpenTrigger value)
TooltipConfigwithTrigger in class TooltipConfigvalue - mandatory parameterpublic PopoverConfig withHoverTrigger()
public PopoverConfig withAnimation(boolean value)
TooltipConfigwithAnimation in class TooltipConfigvalue - mandatory parameterpublic PopoverConfig withSelector(String value)
TooltipConfigwithSelector in class TooltipConfigvalue - mandatory parameterpublic PopoverConfig withTitle(String value)
TooltipConfigwithTitle in class TooltipConfigvalue - mandatory parameterpublic PopoverConfig withContent(String value)
TooltipConfigwithContent in class TooltipConfigvalue - mandatory parameterpublic PopoverConfig withDelay(org.apache.wicket.util.time.Duration value)
TooltipConfigwithDelay in class TooltipConfigvalue - mandatory parameterpublic PopoverConfig withHtml(boolean value)
TooltipConfigwithHtml in class TooltipConfigvalue - mandatory parameterCopyright © 2013 agilecoders.de. All Rights Reserved.