126 lines
6.1 KiB
HTML
126 lines
6.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="ko">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
|
|
<title>Theme - xe-ui-component</title>
|
|
|
|
<!-- core -->
|
|
<!-- core -->
|
|
<link href="../../../assets/core/common/css/xe-common.css" rel="stylesheet" media="all">
|
|
<link href="../../../assets/core/xe-ui-component/xe-ui-component.css" rel="stylesheet" media="all">
|
|
<link href="https://cdn.jsdelivr.net/npm/xeicon@2.3/xeicon.min.css" rel="stylesheet" media="all">
|
|
|
|
<script>var xeBaseURL = '../../../';</script>
|
|
<script src="../../../assets/vendor.js" type="text/javascript"></script>
|
|
<script src="../../../assets/common.js" type="text/javascript"></script>
|
|
<script src="../../../assets/core/common/js/xe.bundle.js" type="text/javascript"></script>
|
|
|
|
<!-- additional -->
|
|
<link href="./sample/css/layout.css" rel="stylesheet" media="all">
|
|
<link href="./sample/css/prism.css" rel="stylesheet" media="all">
|
|
<script src="./sample/js/layout.js"></script>
|
|
<script src="./sample/js/prism.js"></script>
|
|
</head>
|
|
<body class="body sub-skin desktop">
|
|
<div class="main-wrap transition">
|
|
<div class="sub-content xe-container ui-contents">
|
|
<!-- sub content area -->
|
|
<h2>Tooltip</h2>
|
|
<p>
|
|
특정 대상의 부연 설명을 하기 위한 용도로 사용합니다.
|
|
</p>
|
|
<ul class="index-list">
|
|
<li><a href="#example">Example</a></li>
|
|
<li><a href="#demo">Demo</a></li>
|
|
</ul>
|
|
<h3><a href="#example" name="example">Example</a></h3>
|
|
<div class="xe-row">
|
|
<div class="xe-col-md-4">
|
|
<p>
|
|
4가지 방향(위, 오른쪽, 아래, 왼쪽)으로 노출합니다.
|
|
</p>
|
|
</div>
|
|
<div class="xe-col-md-8">
|
|
<div class="xe-example">
|
|
<div class="xe-tooltip left" role="tooltip">
|
|
<div class="xe-tooltip-arrow"></div>
|
|
<div class="xe-tooltip-inner">
|
|
Tooltip on the left
|
|
</div>
|
|
</div>
|
|
<div class="xe-tooltip top" role="tooltip">
|
|
<div class="xe-tooltip-arrow"></div>
|
|
<div class="xe-tooltip-inner">
|
|
Tooltip on the top
|
|
</div>
|
|
</div>
|
|
<div class="xe-tooltip bottom" role="tooltip">
|
|
<div class="xe-tooltip-arrow"></div>
|
|
<div class="xe-tooltip-inner">
|
|
Tooltip on the bottom
|
|
</div>
|
|
</div>
|
|
<div class="xe-tooltip right" role="tooltip">
|
|
<div class="xe-tooltip-arrow"></div>
|
|
<div class="xe-tooltip-inner">
|
|
Tooltip on the right
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<pre><code class="language-markup"><div class="xe-tooltip left" role="tooltip">
|
|
<div class="xe-tooltip-arrow"></div>
|
|
<div class="xe-tooltip-inner">
|
|
Tooltip on the left
|
|
</div>
|
|
</div>
|
|
<div class="xe-tooltip top" role="tooltip">
|
|
<div class="xe-tooltip-arrow"></div>
|
|
<div class="xe-tooltip-inner">
|
|
Tooltip on the top
|
|
</div>
|
|
</div>
|
|
<div class="xe-tooltip bottom" role="tooltip">
|
|
<div class="xe-tooltip-arrow"></div>
|
|
<div class="xe-tooltip-inner">
|
|
Tooltip on the bottom
|
|
</div>
|
|
</div>
|
|
<div class="xe-tooltip right" role="tooltip">
|
|
<div class="xe-tooltip-arrow"></div>
|
|
<div class="xe-tooltip-inner">
|
|
Tooltip on the right
|
|
</div>
|
|
</div></code></pre>
|
|
</div>
|
|
</div>
|
|
|
|
<h3><a href="#demo" name="demo">Demo</a></h3>
|
|
<div class="xe-row">
|
|
<div class="xe-col-md-4">
|
|
<p>
|
|
<code>title</code> 속성을 통해 totltip 내용을 노출합니다.
|
|
</p>
|
|
</div>
|
|
<div class="xe-col-md-8">
|
|
<div class="xe-example">
|
|
<button type="button" class="xe-btn xe-btn-success" data-toggle="xe-tooltip" data-placement="left" title="Tooltip on left">xe-tooltip on left</button>
|
|
<button type="button" class="xe-btn xe-btn-success" data-toggle="xe-tooltip" data-placement="top" title="Tooltip on top">xe-tooltip on top</button>
|
|
<button type="button" class="xe-btn xe-btn-success" data-toggle="xe-tooltip" data-placement="bottom" title="Tooltip on bottom">xe-tooltip on bottom</button>
|
|
<button type="button" class="xe-btn xe-btn-success" data-toggle="xe-tooltip" data-placement="right" title="Tooltip on right">xe-tooltip on right</button>
|
|
</div>
|
|
<pre><code class="language-markup"><button type="button" class="xe-btn xe-btn-success" data-toggle="xe-tooltip" data-placement="left" title="Tooltip on left">xe-tooltip on left</button>
|
|
<button type="button" class="xe-btn xe-btn-success" data-toggle="xe-tooltip" data-placement="top" title="Tooltip on top">xe-tooltip on top</button>
|
|
<button type="button" class="xe-btn xe-btn-success" data-toggle="xe-tooltip" data-placement="bottom" title="Tooltip on bottom">xe-tooltip on bottom</button>
|
|
<button type="button" class="xe-btn xe-btn-success" data-toggle="xe-tooltip" data-placement="right" title="Tooltip on right">xe-tooltip on right</button></code></pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
$('[data-toggle="xe-tooltip"]').xeTooltip();
|
|
</script>
|
|
</body>
|
|
</html>
|