Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
81 lines (77 sloc) 3.42 KB
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="|Raleway:400,700|Roboto:300,400,900," rel="stylesheet">
<link rel="stylesheet" href="">
<link rel="stylesheet" href="../base/reset.css">
<link rel="stylesheet" href="../base/mobileui.css">
<link rel="stylesheet" href="../base/colors.css">
<link rel="stylesheet" href="../base/icons.css">
<link rel="stylesheet" href="../header/style.css">
<link rel="stylesheet" href="../button/style.css">
<link rel="stylesheet" href="../list/style.css">
<link rel="stylesheet" href="../cover/style.css">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="../assets/css/master.css">
.content {
margin-left: 50px
<script type="text/javascript" src="../base/base.js"></script>
<script type="text/javascript" src="script.js"></script>
<body class="content">
<!-- BEGIN -->
<h2 class="title-doc" id="_DOC_GENERATE_SPACE_">Popover</h2>
The Popover is a view that floats above an app’s content. Popovers provide an easy way to present or gather information from
the user and are commonly used in the following situations: Show more info about the current view ,select a commonly used
tool or configuration and present a list of actions to perform inside one of your views.
<div class="dependency tooltip">
<strong>Dependency:</strong> <code>base</code> and <code>list</code>.
<span class="tooltiptext">The dependencies will be installed together with this module</span>
To use this component you need install with the command:
<pre>mobileui install popover</pre>
Your popover need have <code>id</code> and for you open popover, just call function <code>openPopover('ID_YOUR_POPOVER')</code>.
<p>See example:</p>
<textarea class="bind-code" mode="text/html" header-absolute="true" replace="body,div|grey-200,grey-200 body|openPopover,openPopoverLand" height-preview="400px" border="true" multiplatform="true">
<body class="padding grey-200 has-header">
<div class="popover" id="popover1">
<div class="list">
<div class="item"><h1>Action popover #1</h1></div>
<div class="item"><h1>Action popover #2</h1></div>
<div class="item"><h1>Action popover #3</h1></div>
<div class="item"><h1 class="text-grey">Action popover #4</h1></div>
<div class="header purple">
<h1>App Popover</h1>
<div class="right">
<button class="icon ion-android-more-vertical" onclick="openPopover('popover1')"></button>
<p>If you need make bind some event after popover open just listener event:</p>
<textarea class="bind-just-code" mode="text/javascript">
document.addEventListener('popoverOpened', function(e){
<!-- DONE -->
<script src=""></script>
<script src=""></script>
<script type="text/javascript" src=""></script>
<script type="text/javascript" src="../assets/js/main.js"></script>
You can’t perform that action at this time.