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

Support Sass-like Functions #25

Open
warappa opened this issue Jan 24, 2017 · 0 comments
Open

Support Sass-like Functions #25

warappa opened this issue Jan 24, 2017 · 0 comments
Assignees
Milestone

Comments

@warappa
Copy link
Owner

warappa commented Jan 24, 2017

Support functions

@function bind($property, $converter) {
    @if ($converter) {
        @return "{" + $property +", Converter=" + $converter + "}";
    }
    @else {
        @return "{" + $property + "}";
    }
}

Button {
    BackgroundColor: @bind(Color);
}
@warappa warappa added this to the 2.0.0 milestone Jan 24, 2017
@warappa warappa self-assigned this Jan 24, 2017
@warappa warappa modified the milestones: 2.0.0, vNext Feb 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant