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 the browser creates two copies using functions to add items to the DOM.
True for the function wf:insert_top/2 and wf:insert_bottom/2 inside event(init):
%% table.erl event(init) -> wf:insert(test,#span{body= wf:f("~p", [erlang:now()])}).
<!-- table.html template--> <div id="test"></div>
%% routes.erl route(<<"/table">>) -> table; route(<<"/ws/table">>) -> table;
The text was updated successfully, but these errors were encountered:
In n2o_sample we have wf:insert_top and it works ok.
event(init) -> User = wf:user(), wf:reg(room), X = wf:qs(<<"x">>), wf:insert_top(history, #panel{id=banner, body= [#span{id=text, body = wf:f("User ~s logged in. X = ~p", [User,X]) }, #button{id=logout, body="Logout", postback=logout}, #br{}]}), wf:insert_top(history,"-1-");
Sorry, something went wrong.
the second element appears after about a second
You really have clean build? I can't reproduce it.
c57e01a
No branches or pull requests
In the browser creates two copies using functions to add items to the DOM.
True for the function wf:insert_top/2 and wf:insert_bottom/2 inside event(init):
The text was updated successfully, but these errors were encountered: