Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 14 additions & 10 deletions docs/userGuide/syntax/popovers.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@
</popover>
</p>
<h4 class="no-index">Content using slot</h4>
<popover header="**Emoji header** :rocket:">
<div slot="content">
This is a long content...
</div>
<button class="btn btn-secondary">Hover</button>
</popover>
<br />
<br />
<p>
<popover header="**Emoji header** :rocket:">
<div slot="content">
This is a long content...
</div>
<button class="btn btn-secondary">Hover</button>
</popover>
</p>
<h4 class="no-index">Content using src</h4>
<p>
<popover header="From a HTML file" src="{{ baseUrl }}/userGuide/syntax/extra/loadContent.html#fragment">
Expand All @@ -65,7 +65,9 @@
</popover>
</p>
<h4 class="no-index">Wrap Text</h4>
<popover header="false" content="Nice!">What do you say</popover>
<p>
<popover header="false" content="Nice!">What do you say</popover>
</p>
</variable>
</include>

Expand All @@ -83,7 +85,9 @@ This is the same <trigger for="pop:trigger_id">trigger</trigger> as last one.

<panel header="More about triggers">
<include src="extra/triggers.md" />
</panel><p/>
</panel>

<br>

****Options****

Expand Down
6 changes: 4 additions & 2 deletions docs/userGuide/syntax/tooltips.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,19 @@
<button class="btn btn-secondary">Tooltip on bottom</button>
</tooltip>
<hr />

Trigger
<p>
<tooltip content="Lorem ipsum dolor sit amet" placement="top" trigger="click">
<button class="btn btn-secondary">Click</button>
</tooltip>
<br />
<br />
</p>
<p>
<tooltip content="Lorem ipsum dolor sit amet" placement="top" trigger="focus">
<input placeholder="Focus"></input>
</tooltip>
</p>
<hr />

**Markdown**:
<tooltip content="*Hello* **World**">
Expand Down
4 changes: 2 additions & 2 deletions packages/vue-components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Some custom components and directives are also added for MarkBind's use.
- Question.vue
- QOption.vue
- Quiz.vue
- Popover.vue (built on bootstrap-vue's popovers)
- Tooltip.vue (built on bootstrap-vue's tooltips)
- Trigger.vue (built on bootstrap-vue's popovers, modals, tooltips)

### MarkBind components ported from [MarkBind/vue-strap](https://github.com/MarkBind/vue-strap):
Expand Down Expand Up @@ -50,8 +52,6 @@ Some custom components and directives are also added for MarkBind's use.
### BootstrapVue components included in the bundle

- Modals
- Popover.vue
- Tooltip.vue

## Installation

Expand Down