|
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
<title>Hello APP</title>
<link rel="stylesheet" type="text/css" href="../css/api.css" />
<style>
html,
body {
height: 100%;
width: 100%;
}
#wrap {
height: 100%;
display: -webkitbox;
display: -webkit-flex;
display: flex;
-webkit-box-orient: vertical;
-webkit-flex-flow: column;
flex-flow: column;
}
.topbar {
background: #f1f1f1;
height: 50px;
border-bottom: 1px solid #fff;
line-height: 50px;
text-align: center;
color: #323237;
margin: 10px;
}
.headerbar {
height: 80px;
line-height: 80px;
color: #fff;
font-size: 25px;
background: #1BB17B;
}
</style>
</head>
<body>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript">
apiready = function() {
var pdfReader = api.require('pdfReader');
pdfReader.open({
path: 'widget://res/demo.txt',
hidden: {
print: true,
export: true,
bookmark: true,
email: true
}
});
};
</script> |
|