LiveExampleTarget
type LiveExampleTarget =
| JavaScript
| TypeScript
| Python
| Rust
| Dart
| Php
| Erlang| Assembly | Nacara.Plugin.LiveExample |
What Fable compiles a snippet to.
Only JavaScript runs. The rest are compiled and shown: the console carries what the compiler said, and the output tab carries the code it emitted.
A language the compiler does not know fails the build rather than reaching a reader.
Declared inside
Description | Everything known about a target, in one place so nothing drifts |
Cases
Functions and values
all: LiveExampleTarget list
all: LiveExampleTarget listEvery target, in the order they are worth reading.
description (target: LiveExampleTarget) : Description
description (target: LiveExampleTarget) : DescriptionWhat this target is called and what it can do.
| Parameter | |
|---|---|
target | The target. |
tryParse (name: string) : LiveExampleTarget option
tryParse (name: string) : LiveExampleTarget optionThe target a fence named, if it named one that exists.
| Parameter | |
|---|---|
name | What was written after target=. |