forked from MapComplete/MapComplete
More refactoring
This commit is contained in:
parent
5d0fe31c41
commit
41e6a2c760
147 changed files with 1540 additions and 1797 deletions
13
UI/InputElement/InputHelper.svelte
Normal file
13
UI/InputElement/InputHelper.svelte
Normal file
|
@ -0,0 +1,13 @@
|
|||
<script lang="ts">
|
||||
/**
|
||||
* Constructs an input helper element for the given type.
|
||||
* Note that all values are stringified
|
||||
*/
|
||||
|
||||
import { AvailableInputHelperType } from "./InputHelpers";
|
||||
import { UIEventSource } from "../../Logic/UIEventSource";
|
||||
|
||||
export let type : AvailableInputHelperType
|
||||
export let value : UIEventSource<string>
|
||||
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue