|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
@page
|
|
|
|
|
@model Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo.Pages.Components.TooltipsModel
|
|
|
|
|
@{
|
|
|
|
|
ViewData["Title"] = "Badges";
|
|
|
|
|
ViewData["Title"] = "Tooltips";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@section styles {
|
|
|
|
@ -14,46 +14,77 @@
|
|
|
|
|
|
|
|
|
|
<p>Based on <a href="https://getbootstrap.com/docs/4.1/components/tooltips/" target="_blank"> Bootstrap Tooltips</a>.</p>
|
|
|
|
|
|
|
|
|
|
<h4># Tooltips Examples</h4>
|
|
|
|
|
<h4>Example</h4>
|
|
|
|
|
|
|
|
|
|
<div class="demo-with-code">
|
|
|
|
|
<div class="demo-area">
|
|
|
|
|
|
|
|
|
|
<abp-button abp-tooltip="Tooltip Default">
|
|
|
|
|
<abp-button abp-tooltip="Tooltip">
|
|
|
|
|
Tooltip Default
|
|
|
|
|
</abp-button>
|
|
|
|
|
<abp-button abp-tooltip-top="Tooltip on top">
|
|
|
|
|
<abp-button abp-tooltip-top="Tooltip">
|
|
|
|
|
Tooltip on top
|
|
|
|
|
</abp-button>
|
|
|
|
|
<abp-button abp-tooltip-right="Tooltip on right">
|
|
|
|
|
<abp-button abp-tooltip-right="Tooltip">
|
|
|
|
|
Tooltip on right
|
|
|
|
|
</abp-button>
|
|
|
|
|
<abp-button abp-tooltip-bottom="Tooltip on bottom">
|
|
|
|
|
<abp-button abp-tooltip-bottom="Tooltip">
|
|
|
|
|
Tooltip on bottom
|
|
|
|
|
</abp-button>
|
|
|
|
|
<abp-button abp-tooltip-left="Tooltip on left">
|
|
|
|
|
Tooltip on left
|
|
|
|
|
<abp-button disabled="true" abp-tooltip="Tooltip">
|
|
|
|
|
Disabled button Tooltip
|
|
|
|
|
</abp-button>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="code-area">
|
|
|
|
|
<pre>
|
|
|
|
|
<abp-button abp-tooltip="Tooltip Default">
|
|
|
|
|
Tooltip Default
|
|
|
|
|
<abp-tabs>
|
|
|
|
|
<abp-tab title="Tag Helper" active="true">
|
|
|
|
|
<pre><code>
|
|
|
|
|
<abp-button abp-tooltip="Tooltip">
|
|
|
|
|
Tooltip Default
|
|
|
|
|
</abp-button>
|
|
|
|
|
<abp-button abp-tooltip-top="Tooltip on top">
|
|
|
|
|
Tooltip on top
|
|
|
|
|
|
|
|
|
|
<abp-button abp-tooltip-top="Tooltip">
|
|
|
|
|
Tooltip on top
|
|
|
|
|
</abp-button>
|
|
|
|
|
<abp-button abp-tooltip-right="Tooltip on right">
|
|
|
|
|
Tooltip on right
|
|
|
|
|
|
|
|
|
|
<abp-button abp-tooltip-right="Tooltip">
|
|
|
|
|
Tooltip on right
|
|
|
|
|
</abp-button>
|
|
|
|
|
<abp-button abp-tooltip-bottom="Tooltip on bottom">
|
|
|
|
|
Tooltip on bottom
|
|
|
|
|
|
|
|
|
|
<abp-button abp-tooltip-bottom="Tooltip">
|
|
|
|
|
Tooltip on bottom
|
|
|
|
|
</abp-button>
|
|
|
|
|
<abp-button abp-tooltip-left="Tooltip on left">
|
|
|
|
|
Tooltip on left
|
|
|
|
|
|
|
|
|
|
<abp-button disabled="true" abp-tooltip="Tooltip">
|
|
|
|
|
Disabled button Tooltip
|
|
|
|
|
</abp-button>
|
|
|
|
|
</pre>
|
|
|
|
|
</code></pre>
|
|
|
|
|
</abp-tab>
|
|
|
|
|
<abp-tab title="Rendered">
|
|
|
|
|
<pre><code>
|
|
|
|
|
<button class="btn" type="button" data-busy-text="Processing..." data-toggle="tooltip" data-placement="top" title="" data-original-title="Tooltip">
|
|
|
|
|
Tooltip Default
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
<button class="btn" type="button" data-busy-text="Processing..." data-toggle="tooltip" data-placement="top" title="" data-original-title="Tooltip">
|
|
|
|
|
Tooltip on top
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
<button class="btn" type="button" data-busy-text="Processing..." data-toggle="tooltip" data-placement="right" title="" data-original-title="Tooltip">
|
|
|
|
|
Tooltip on right
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
<button class="btn" type="button" data-busy-text="Processing..." data-toggle="tooltip" data-placement="bottom" title="" data-original-title="Tooltip">
|
|
|
|
|
Tooltip on bottom
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
<span class="d-inline-block" tabindex="0" data-toggle="tooltip" data-placement="top" title="" data-original-title="Tooltip">
|
|
|
|
|
<button class="btn" disabled="disabled" type="button" data-busy-text="Processing..." data-placement="top" style="pointer-events: none;">
|
|
|
|
|
Disabled button Tooltip
|
|
|
|
|
</button>
|
|
|
|
|
</span>
|
|
|
|
|
</code></pre>
|
|
|
|
|
</abp-tab>
|
|
|
|
|
</abp-tabs>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|