We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In trying to give named parameters to mixins, I noticed you can get away doing this:
mixin simpleField({label, name, isRequired, leftIconClass}) .field label.label(for=`txt-${name}`)= label div(class=`control ${leftIconClass ? "has-icons-left" : ""}`) input.input( id=`txt-${name}`, name= name, type='text', required= isRequired) if leftIconClass span.icon.is-small.is-left i.fas(class= leftIconClass) +simpleField({ label: "Full Name", name: "host-full-name", isRequired: true, leftIconClass: "fa-user" })
Is there a good chance this is going to break in the future?
The text was updated successfully, but these errors were encountered:
This is the forum for the Geany IDE, not any specific programming language. You should ask on teh appropriate forum for the language you are using.
Sorry, something went wrong.
Sorry, brain fart, you may delete this issue.
No branches or pull requests
In trying to give named parameters to mixins, I noticed you can get away doing this:
Is there a good chance this is going to break in the future?
The text was updated successfully, but these errors were encountered: