78dd776426
Initially a lot of code was copied from another project. This lead to confusing naming conventions.
29 lines
845 B
HTML
29 lines
845 B
HTML
<link rel="import" href="invitation-link-behavior.html">
|
|
<link rel="import" href="../../bower_components/paper-tooltip/paper-tooltip.html">
|
|
<dom-module id="invitation-link">
|
|
<template>
|
|
<style>
|
|
:host {
|
|
display: block;
|
|
position: absolute;
|
|
top: 16px;
|
|
left: 16px;
|
|
z-index: 3;
|
|
}
|
|
</style>
|
|
<paper-icon-button icon="chat:share" on-tap="_copy" id="btn"></paper-icon-button>
|
|
<paper-tooltip
|
|
for="btn"
|
|
position="bottom"
|
|
offset="14">
|
|
Get an Invitation Link to send files accross different networks.
|
|
</paper-tooltip>
|
|
</template>
|
|
<script>
|
|
'use strict';
|
|
Polymer({
|
|
is: 'invitation-link',
|
|
behaviors: [Snapdrop.InvitationLinkBehavior]
|
|
});
|
|
</script>
|
|
</dom-module>
|