HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by lexy0202 | Hacker News Reader
Full thread
lexy0202
·
Can you interact with the dom inside opal?
View on HN
marcamillion
·
Seems so: > Document['.post .title'].html = @post[:title] Document['.post .body'].html = @post[:body] Document['.post .comments'].html = comments_html
From
https://github.com/opal/opal-rails#readme
Reply on news.ycombinator.com