MCPcopy Create free account
hub / github.com/MALSync/MALSync / trackingSyncButtonElement

Function trackingSyncButtonElement

src/pages-sync/messageElements.ts:46–60  ·  view source on GitHub ↗
(buttonText: string)

Source from the content-addressed store, hash-verified

44}
45
46export function trackingSyncButtonElement(buttonText: string) {
47 const syncButton = document.createElement('button');
48 syncButton.className = 'sync';
49 syncButton.style = `
50 margin-bottom: 8px;
51 background-color: transparent;
52 border: none;
53 color: rgb(255,64,129);
54 margin-top: 10px;
55 cursor: pointer;
56 `;
57 syncButton.innerText = buttonText;
58
59 return syncButton;
60}
61
62export function trackingNoteElement(noteText: string) {
63 const noteDiv = document.createElement('div');

Callers 1

startSyncHandlingMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected