@popover
<bs:button color="blue" title="Pop" popover="Corn" popover-color="success" xmlns:bs="http://www.bootstrap-cms.org">Pop</bs:button>
Pop
| Attribute | Datatype | Description |
|---|---|---|
| @popover | xs:string | content |
| @title | xs:string | title |
| @popover-color | color of title | |
| @popover-dismiss | true | [false] | add dismiss button |
| @popover-placement | [top] | right | left | bottom | |
| @popover-trigger | none | [hover] | click | focus | event |
| @popover-delay | xs:positiveInteger | |
| @popover-container | xs:name | parent |
| @popover-animation | [true] | false | |
| @popover-offset | 10, 10 | |
| @popover-size | small | [medium] | large | xtra-large |
<bs:popover>
−
<bs:button color="blue" xmlns:bs="http://www.bootstrap-cms.org">
<bs:title>Pop</bs:title>
−
<bs:popover>
<bs:title color="success">Help</bs:title>
<bs:body>Content</bs:body>
</bs:popover>
[2 lines]
</bs:button>
[4 lines]
Pop Help Content
With Language
−
<bs:button 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:popover>
−
<bs:title color="success">
<bs:lang code="en">help</bs:lang>
<bs:lang code="da">hjælp</bs:lang>
</bs:title>
[2 lines]
−
<bs:body>
<bs:lang code="en">Content</bs:lang>
<bs:lang code="da">Indhold</bs:lang>
</bs:body>
[2 lines]
</bs:popover>
[6 lines]
</bs:button>
[10 lines]
Tool Titel help hjælp Content Indhold
Key Attributes
| Attribute | Datatype | Description |
|---|---|---|
| bs:title/@color | bs:body/@color | color of 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 |