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

Enable embedding Web.Control instances into Docs #53

Closed
granicz opened this issue Oct 25, 2015 · 1 comment
Closed

Enable embedding Web.Control instances into Docs #53

granicz opened this issue Oct 25, 2015 · 1 comment

Comments

@granicz
Copy link
Member

granicz commented Oct 25, 2015

Not unlike the former version of WebSharper.Html, we would like to embed server side controls into Docs:

    div [
        MyHelloWorldControl()
    ]
@Tarmil
Copy link
Member

Tarmil commented Oct 26, 2015

You can use Doc.WebControl:

div [
    Doc.WebControl <| MyHelloWorldControl()
]

@Tarmil Tarmil closed this as completed Oct 26, 2015
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

No branches or pull requests

2 participants