blob: a2e3b3720146b9827bad74429983975d98be6100 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.html">
<link rel="import" href="viewer-zoom-button.html">
<dom-module id="viewer-zoom-toolbar">
<link rel="import" type="css" href="viewer-zoom-toolbar.css">
<template>
<div id="zoom-buttons">
<div id="buttons">
<viewer-zoom-button id="fit-button" icons="fullscreen-exit fullscreen"
on-fabclick="fitToggle" delay="100">
</viewer-zoom-button>
<viewer-zoom-button id="zoom-in-button" icons="add"
on-fabclick="zoomIn" delay="50"></viewer-zoom-button>
<viewer-zoom-button id="zoom-out-button" icons="remove"
on-fabclick="zoomOut" delay="0"></viewer-zoom-button>
</div>
</div>
</template>
</dom-module>
<script src="viewer-zoom-toolbar.js"></script>
|