2017-10-03 18:34:59 +02:00
|
|
|
<!doctype html>
|
2017-10-22 14:02:24 +02:00
|
|
|
<html lang="en">
|
2016-11-12 16:12:58 +01:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2019-02-27 16:47:41 +01:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2020-10-22 08:38:15 +02:00
|
|
|
<link href="../../../dist/css/bootstrap.min.css" rel="stylesheet">
|
2016-11-12 16:12:58 +01:00
|
|
|
<title>Dropdown</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="container">
|
|
|
|
<h1>Dropdown <small>Bootstrap Visual Test</small></h1>
|
2014-06-08 04:11:44 +02:00
|
|
|
|
2017-06-26 03:29:43 +02:00
|
|
|
<nav class="navbar navbar-expand-md navbar-light bg-light">
|
2017-03-21 07:13:34 +01:00
|
|
|
<a class="navbar-brand" href="#">Navbar</a>
|
2020-07-22 21:33:11 +02:00
|
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
|
2016-12-31 06:56:10 +01:00
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<div class="collapse navbar-collapse" id="navbarResponsive">
|
|
|
|
<ul class="navbar-nav">
|
2016-11-12 16:12:58 +01:00
|
|
|
<li class="nav-item active">
|
2020-10-14 12:59:43 +02:00
|
|
|
<a class="nav-link" href="#" aria-current="page">Home</a>
|
2016-11-12 16:12:58 +01:00
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="#">Link</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="#">Link</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item dropdown">
|
2020-07-22 21:33:11 +02:00
|
|
|
<a class="nav-link dropdown-toggle" href="#" id="dropdown" data-bs-toggle="dropdown" aria-expanded="false">Dropdown</a>
|
2020-03-31 22:41:28 +02:00
|
|
|
<ul class="dropdown-menu" aria-labelledby="dropdown">
|
|
|
|
<li><a class="dropdown-item" href="#">Action</a></li>
|
|
|
|
<li><a class="dropdown-item" href="#">Another action</a></li>
|
|
|
|
<li><a class="dropdown-item" href="#">Something else here</a></li>
|
|
|
|
</ul>
|
2016-11-12 16:12:58 +01:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</nav>
|
2014-06-08 04:11:44 +02:00
|
|
|
|
2016-11-12 16:12:58 +01:00
|
|
|
<ul class="nav nav-pills mt-3">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link active" href="#">Active</a>
|
2015-08-19 04:42:27 +02:00
|
|
|
</li>
|
2016-11-12 16:12:58 +01:00
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="#">Link</a>
|
2015-08-19 04:42:27 +02:00
|
|
|
</li>
|
2016-11-12 16:12:58 +01:00
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="#">Link</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item dropdown">
|
2020-07-22 21:33:11 +02:00
|
|
|
<a class="nav-link dropdown-toggle" href="#" id="dropdown2" data-bs-toggle="dropdown" aria-expanded="false">Dropdown</a>
|
2020-03-31 22:41:28 +02:00
|
|
|
<ul class="dropdown-menu" aria-labelledby="dropdown2">
|
|
|
|
<li><a class="dropdown-item" href="#">Action</a></li>
|
|
|
|
<li><a class="dropdown-item" href="#">Another action</a></li>
|
|
|
|
<li><a class="dropdown-item" href="#">Something else here</a></li>
|
|
|
|
</ul>
|
2015-08-19 04:42:27 +02:00
|
|
|
</li>
|
|
|
|
</ul>
|
2017-04-17 14:26:40 +02:00
|
|
|
|
2017-05-17 22:03:11 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-12 mt-4">
|
2017-09-26 09:09:40 +02:00
|
|
|
<div class="dropdown">
|
2020-07-22 21:33:11 +02:00
|
|
|
<button type="button" class="btn btn-secondary" data-bs-toggle="dropdown" aria-expanded="false">Dropdown</button>
|
2017-09-26 09:09:40 +02:00
|
|
|
<div class="dropdown-menu">
|
|
|
|
<input id="textField" type="text">
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-05-17 22:03:11 +02:00
|
|
|
<div class="btn-group dropup">
|
2017-05-22 16:14:10 +02:00
|
|
|
<button type="button" class="btn btn-secondary">Dropup split</button>
|
2020-07-22 21:33:11 +02:00
|
|
|
<button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
|
2020-07-03 13:38:11 +02:00
|
|
|
<span class="visually-hidden">Dropup split</span>
|
2017-05-17 22:03:11 +02:00
|
|
|
</button>
|
2020-03-31 22:41:28 +02:00
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item" href="#">Action</a></li>
|
|
|
|
<li><a class="dropdown-item" href="#">Another action</a></li>
|
|
|
|
<li><a class="dropdown-item" href="#">Something else here</a></li>
|
|
|
|
</ul>
|
2017-05-17 22:03:11 +02:00
|
|
|
</div>
|
2020-06-19 10:17:01 +02:00
|
|
|
</div>
|
2017-05-17 22:03:11 +02:00
|
|
|
|
2020-06-19 10:17:01 +02:00
|
|
|
<div class="col-sm-12 mt-4">
|
2017-05-22 16:14:10 +02:00
|
|
|
<div class="btn-group dropup">
|
2020-07-22 21:33:11 +02:00
|
|
|
<button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">Dropup</button>
|
2020-03-31 22:41:28 +02:00
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item" href="#">Action</a></li>
|
|
|
|
<li><a class="dropdown-item" href="#">Another action</a></li>
|
|
|
|
<li><a class="dropdown-item" href="#">Something else here</a></li>
|
|
|
|
</ul>
|
2017-05-22 16:14:10 +02:00
|
|
|
</div>
|
|
|
|
|
2017-05-17 22:03:11 +02:00
|
|
|
<div class="btn-group">
|
2020-07-22 21:33:11 +02:00
|
|
|
<button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
|
2020-06-26 16:06:20 +02:00
|
|
|
This dropdown's menu is end-aligned
|
2017-05-17 22:03:11 +02:00
|
|
|
</button>
|
2020-06-26 16:06:20 +02:00
|
|
|
<div class="dropdown-menu dropdown-menu-end">
|
2017-05-17 22:03:11 +02:00
|
|
|
<button class="dropdown-item" type="button">Action</button>
|
|
|
|
<button class="dropdown-item" type="button">Another action</button>
|
|
|
|
<button class="dropdown-item" type="button">Something else here</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-05-22 16:14:10 +02:00
|
|
|
</div>
|
2017-10-29 23:29:13 +01:00
|
|
|
|
2017-05-22 16:14:10 +02:00
|
|
|
<div class="col-sm-12 mt-4">
|
|
|
|
<div class="btn-group dropup" role="group">
|
2020-06-26 16:06:20 +02:00
|
|
|
<a href="#" class="btn btn-secondary">Dropup split align end</a>
|
2020-07-22 21:33:11 +02:00
|
|
|
<button type="button" id="dropdown-page-subheader-button-3" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
|
2020-07-03 13:38:11 +02:00
|
|
|
<span class="visually-hidden">Product actions</span>
|
2017-05-17 22:03:11 +02:00
|
|
|
</button>
|
2020-06-26 16:06:20 +02:00
|
|
|
<div class="dropdown-menu dropdown-menu-end">
|
2017-05-17 22:03:11 +02:00
|
|
|
<button class="dropdown-item" type="button">Action</button>
|
|
|
|
<button class="dropdown-item" type="button">Another action</button>
|
2017-05-22 16:14:10 +02:00
|
|
|
<button class="dropdown-item" type="button">Something else here with a long text</button>
|
2017-05-17 22:03:11 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-05-22 16:14:10 +02:00
|
|
|
<div class="btn-group dropup">
|
2020-06-26 16:06:20 +02:00
|
|
|
<button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">Dropup align end</button>
|
|
|
|
<div class="dropdown-menu dropdown-menu-end">
|
2017-05-22 16:14:10 +02:00
|
|
|
<button class="dropdown-item" type="button">Action</button>
|
|
|
|
<button class="dropdown-item" type="button">Another action</button>
|
|
|
|
<button class="dropdown-item" type="button">Something else here with a long text</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-10-29 23:29:13 +01:00
|
|
|
|
|
|
|
<div class="col-sm-12 mt-4">
|
2020-06-26 16:06:20 +02:00
|
|
|
<div class="btn-group dropend" role="group">
|
|
|
|
<a href="#" class="btn btn-secondary">Dropend split</a>
|
2020-07-22 21:33:11 +02:00
|
|
|
<button type="button" id="dropdown-page-subheader-button-4" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
|
2020-07-03 13:38:11 +02:00
|
|
|
<span class="visually-hidden">Product actions</span>
|
2017-10-29 23:29:13 +01:00
|
|
|
</button>
|
|
|
|
<div class="dropdown-menu">
|
|
|
|
<button class="dropdown-item" type="button">Action</button>
|
|
|
|
<button class="dropdown-item" type="button">Another action</button>
|
|
|
|
<button class="dropdown-item" type="button">Something else here with a long text</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-06-26 16:06:20 +02:00
|
|
|
<div class="btn-group dropend">
|
2020-07-22 21:33:11 +02:00
|
|
|
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuRight" data-bs-toggle="dropdown" aria-expanded="false">
|
2020-06-26 16:06:20 +02:00
|
|
|
Dropend
|
2017-10-29 23:29:13 +01:00
|
|
|
</button>
|
|
|
|
<div class="dropdown-menu" aria-labelledby="dropdownMenuRight">
|
|
|
|
<button class="dropdown-item" type="button">Action</button>
|
|
|
|
<button class="dropdown-item" type="button">Another action</button>
|
|
|
|
<button class="dropdown-item" type="button">Something else here</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-06-26 16:06:20 +02:00
|
|
|
<!-- dropstart -->
|
|
|
|
<div class="btn-group dropstart" role="group">
|
|
|
|
<a href="#" class="btn btn-secondary">Dropstart split</a>
|
2020-07-22 21:33:11 +02:00
|
|
|
<button type="button" id="dropdown-page-subheader-button-5" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
|
2020-07-03 13:38:11 +02:00
|
|
|
<span class="visually-hidden">Product actions</span>
|
2017-10-29 23:29:13 +01:00
|
|
|
</button>
|
|
|
|
<div class="dropdown-menu">
|
|
|
|
<button class="dropdown-item" type="button">Action</button>
|
|
|
|
<button class="dropdown-item" type="button">Another action</button>
|
|
|
|
<button class="dropdown-item" type="button">Something else here with a long text</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-06-26 16:06:20 +02:00
|
|
|
<div class="btn-group dropstart">
|
|
|
|
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropstartMenu" data-bs-toggle="dropdown" aria-expanded="false">
|
|
|
|
Dropstart
|
2017-10-29 23:29:13 +01:00
|
|
|
</button>
|
2020-06-26 16:06:20 +02:00
|
|
|
<div class="dropdown-menu" aria-labelledby="dropstartMenu">
|
2017-10-29 23:29:13 +01:00
|
|
|
<button class="dropdown-item" type="button">Action</button>
|
|
|
|
<button class="dropdown-item" type="button">Another action</button>
|
|
|
|
<button class="dropdown-item" type="button">Something else here</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-05-17 22:03:11 +02:00
|
|
|
</div>
|
2018-01-21 19:09:23 +01:00
|
|
|
</div>
|
2017-10-29 23:29:13 +01:00
|
|
|
|
2018-01-21 19:09:23 +01:00
|
|
|
<div class="row">
|
2018-02-12 01:45:59 +01:00
|
|
|
<div class="col-sm-3 mt-4">
|
2018-01-21 19:09:23 +01:00
|
|
|
<div class="btn-group dropdown">
|
|
|
|
<button type="button" class="btn btn-secondary">Dropdown reference</button>
|
2020-07-22 21:33:11 +02:00
|
|
|
<button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false" data-bs-reference="parent">
|
2020-07-03 13:38:11 +02:00
|
|
|
<span class="visually-hidden">Dropdown split</span>
|
2018-01-21 19:09:23 +01:00
|
|
|
</button>
|
2020-03-31 22:41:28 +02:00
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item" href="#">Action</a></li>
|
|
|
|
<li><a class="dropdown-item" href="#">Another action</a></li>
|
|
|
|
<li><a class="dropdown-item" href="#">Something else here</a></li>
|
|
|
|
</ul>
|
2018-01-21 19:09:23 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-02-12 01:45:59 +01:00
|
|
|
<div class="col-sm-3 mt-4">
|
|
|
|
<div class="dropdown">
|
2020-07-22 21:33:11 +02:00
|
|
|
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown" data-bs-display="static" aria-expanded="false">
|
2020-11-21 15:22:08 +01:00
|
|
|
Dropdown menu without Popper
|
2018-02-12 01:45:59 +01:00
|
|
|
</button>
|
2020-03-31 22:41:28 +02:00
|
|
|
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton">
|
|
|
|
<li><a class="dropdown-item" href="#">Action</a></li>
|
|
|
|
<li><a class="dropdown-item" href="#">Another action</a></li>
|
|
|
|
<li><a class="dropdown-item" href="#">Something else here</a></li>
|
|
|
|
</ul>
|
2018-02-12 01:45:59 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-04-17 14:26:40 +02:00
|
|
|
</div>
|
2017-10-29 23:29:13 +01:00
|
|
|
</div>
|
2014-06-08 04:11:44 +02:00
|
|
|
|
2020-06-19 10:17:01 +02:00
|
|
|
<script src="../../../node_modules/@popperjs/core/dist/umd/popper.min.js"></script>
|
2019-05-08 15:11:24 +02:00
|
|
|
<script src="../../dist/dom/event-handler.js"></script>
|
|
|
|
<script src="../../dist/dom/selector-engine.js"></script>
|
2019-03-17 12:07:26 +01:00
|
|
|
<script src="../../dist/dom/data.js"></script>
|
2017-09-26 09:09:40 +02:00
|
|
|
<script src="../../dist/dom/manipulator.js"></script>
|
2016-11-12 16:12:58 +01:00
|
|
|
<script src="../../dist/dropdown.js"></script>
|
|
|
|
<script src="../../dist/collapse.js"></script>
|
|
|
|
</body>
|
2014-06-08 04:11:44 +02:00
|
|
|
</html>
|