Skip to content
This repository was archived by the owner on Nov 12, 2024. It is now read-only.
This repository was archived by the owner on Nov 12, 2024. It is now read-only.

I think it will be .js not .ftd in docs #356

@apneduniya

Description

@apneduniya

image
URL: https://fastn.com/js-in-function/

I think, the code of index.ftd should be looking like:

-- ftd.text: Click here to print name in alert!
$on-click$: $call-js-fn(a = FifthTry Alert)

-- void call-js-fn(a):
string a:
js: functions.js ; <hl>

show_alert(a) ; <hl>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions