Files
ueblueprint/js/template/ExecPinTemplate.js
barsdeveloper fff0af6f7b Bugfixes
2022-04-26 20:42:20 +02:00

35 lines
922 B
JavaScript

// @ts-check
import html from "./html"
import PinTemplate from "./PinTemplate"
/**
* @typedef {import("../element/PinElement").default} PinElement
*/
export default class ExecPinTemplate extends PinTemplate {
/**
* @param {PinElement} pin
*/
renderIcon(pin) {
return html`
<svg class="ueb-pin-icon-exec" width="16" height="16" viewBox="-2 0 16 16" fill="none">
<path class="ueb-pin-tofill" stroke-width="1.25" stroke="currentColor" d="
M 2 1
a 2 2 0 0 0 -2 2
v 10
a 2 2 0 0 0 2 2
h 4
a 2 2 0 0 0 1.519 -0.698
l 4.843 -5.651
a 1 1 0 0 0 0 -1.302
L 7.52 1.7
a 2 2 0 0 0 -1.519 -0.698
z
" />
</svg>
`
}
}