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

Javascript functions in Card Creatr Studio #10

Open
fire-bot opened this issue Jan 8, 2020 · 1 comment
Open

Javascript functions in Card Creatr Studio #10

fire-bot opened this issue Jan 8, 2020 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@fire-bot
Copy link
Collaborator

fire-bot commented Jan 8, 2020

Sent by toby kurk. Created by fire.


Hello Shane,

Card Creatr Studio is great, thanks.

Can simple javascript functions be defined in Card Creatr Studio?

(Eg, a function to draw a set of circles and rect for to make a rounded-rect)

Thank you,

toby kurk

@sffc
Copy link
Owner

sffc commented Jan 8, 2020

Yes, definitely. You can use - in your template to prefix JavaScript lines. See:

https://pugjs.org/language/code.html

@sffc sffc added question Further information is requested documentation Improvements or additions to documentation and removed question Further information is requested labels Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants