Feat(Docs): Added link to electrum methdos docs

This commit is contained in:
2025-05-30 05:13:09 +00:00
committed by Jim Hamill
parent 96a50f071d
commit 820c98c21c
3 changed files with 12 additions and 0 deletions
@@ -53,6 +53,10 @@
<select v-model="state.selectedMethod">
<option v-for="method of state.methods" :key="method.label" :value="method">{{ method.label }}</option>
</select>
<!-- Display a hint if the selected method has one -->
<div v-if="state.selectedMethod && state.selectedMethod.hint" class="hint-container">
<div v-html="state.selectedMethod.hint"></div>
</div>
</div>
<div v-if="state.selectedMethod" class="form-group input-group" :class="{ 'extended': state.selectedMethod.extendedInput }">
<template v-for="(_input, i) of state.selectedMethod.inputs" :key="i">
@@ -156,6 +160,9 @@ export interface Method<Primitive> {
// Whether the input is extended onto a new line
extendedInput?: boolean
// Hint for the input
hint?: string,
}
export interface Props<Primitive> {