Skip to content

Conversation

tipsy
Copy link
Owner

@tipsy tipsy commented Jan 8, 2018

Allows for writing attribute-names as lambda-params:

link().withAttrs(rel-> "stylesheet", href -> "/styles.css");
form().withAttrs(method -> "post", action -> "/form-path").with(
    input().withAttrs(name -> "email", type -> "email"),
    input().withAttrs(name -> "password", type -> "password")
);

@tipsy tipsy force-pushed the param-name-reflection branch from 1789ba0 to 92aa331 Compare January 10, 2018 16:48
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.

1 participant