#381: Events: param input not displaying value

This commit is contained in:
Michael Shanks 2020-06-24 15:55:40 +01:00
parent e3965f66d4
commit 02e1898989
1 changed files with 6 additions and 0 deletions

View File

@ -8,11 +8,17 @@
import { EVENT_TYPE_MEMBER_NAME } from "components/common/eventHandlers"
import { store, workflowStore } from "builderStore"
import { ArrowDownIcon } from "components/common/Icons/"
import { createEventDispatcher } from 'svelte'
export let parameter
let isOpen = false
$: {
let p = parameter
console.log(JSON.stringify(p))
}
const capitalize = s => {
if (typeof s !== "string") return ""
return s.charAt(0).toUpperCase() + s.slice(1)