Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add scripting field to card template #3762

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jakeprobst
Copy link
Contributor

scripting

@jakeprobst jakeprobst force-pushed the card_template_scripting branch 3 times, most recently from afa298d to dd8ad9f Compare January 23, 2025 03:43
@GithubAnon0000
Copy link

GithubAnon0000 commented Jan 23, 2025

I think this would need scripting for the front and the back template, so that you have js for whatever happens on the front and js for whatever happens on the back.

@jakeprobst
Copy link
Contributor Author

In those cases you can just define two functions and call them in the corresponding template.

And to slip a slope just for fun: why not have front and back styling too? 🍃

@GithubAnon0000
Copy link

GithubAnon0000 commented Jan 23, 2025

So you'd basically have e.g. the following in your front side?

<script>
    some_cool_js();
</script>

@jakeprobst
Copy link
Contributor Author

yep!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants