Welcome to mirror list, hosted at ThFree Co, Russian Federation.

RecoverAction.vue « components « src - github.com/undo-ransomware/ransomware_detection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 225bd8afd619f13bff979ac6cfdf4863046044a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<template>
	<button class="action-button pull-right" @click="onClickActionButton">
		<iron-icon icon="ransomware:trash"></iron-icon> {{ label }}
	</button>
</template>

<script>
import '@polymer/iron-icon/iron-icon.js';
import '@polymer/iron-icons/iron-icons.js';
import '../webcomponents/ransomware-icons'

export default {
	name: 'RecoverAction',

	props: {
		label: {
			type: String,
			default: '',
			required: true
		}
	},
	methods: {
		onClickActionButton() {
			this.$emit("recover");
		}
	}
}
</script>

<style lang="scss">
    button {
		--border-radius-pill: 0px;
	}
</style>