@tooltip
<bs:button color="success" tooltip="Tooltip" tooltip-color="success" xmlns:bs="http://www.bootstrap-cms.org">Tool</bs:button>
Tool
| Attribute | Datatype | Description |
|---|---|---|
| @tooltip | xs:string | content |
| @tooltip-color | color | |
| @tooltip-dismiss | true | [false] | add dismiss button |
| @tooltip-placement | [top] | right | left | bottom | |
| @tooltip-trigger | none | [hover] | click | focus | event |
| @tooltip-delay | xs:positiveInteger | |
| @tooltip-container | xs:name | parent |
| @tooltip-animation | [true] | false | |
| @tooltip-offset | 10, 10 | |
| @tooltip-size | small | [medium] | large | xtra-large |
Tooltip colors:
- primary
- success
- warning
- danger
- secondary
- info
- dark
<bs:tooltip>
With Language
−
<bs:button color="blue" xmlns:bs="http://www.bootstrap-cms.org">
−
<bs:title>
<bs:lang code="en">Tool</bs:lang>
<bs:lang code="da">Titel</bs:lang>
</bs:title>
[2 lines]
−
<bs:tooltip color="success">
<bs:lang code="en">help</bs:lang>
<bs:lang code="da">hjælp</bs:lang>
</bs:tooltip>
[2 lines]
</bs:button>
[6 lines]
Tool Titel help hjælp
Key Attributes
| Attribute | Datatype | Description |
|---|---|---|
| bs:title/@color | bs:body/@color | color on title or body | |
| @dismiss | true | [false] | add dismiss button |
| @placement | [top] | right | left | bottom | |
| @trigger | none | [hover] | click | focus | event |
| @delay | xs:positiveInteger | |
| @container | xs:name | parent |
| @animation | [true] | false | |
| @offset | 10, 10 | |
| @size | small | [medium] | large | xtra-large |