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

Mixture the way using block and passing from arguments to append children occurs problem. #6

Open
youchan opened this issue May 2, 2019 · 0 comments

Comments

@youchan
Copy link
Owner

youchan commented May 2, 2019

for example.

class AppView
  include Hyalite::Component

  def render
    list = @state[:list]
    div do
      ul(nil, ["item1", "item2"].map{|x| li(nil, x)})
    end
  end
end

スクリーンショット 2019-05-02 13 53 51

@youchan youchan changed the title Using mixture the way to use block and using arguments occurs problem Mixture the way to use block and to pass from arguments to append children occurs problem. May 2, 2019
@youchan youchan changed the title Mixture the way to use block and to pass from arguments to append children occurs problem. Mixture the way using block and passing from arguments to append children occurs problem. May 2, 2019
@youchan youchan changed the title Mixture the way using block and passing from arguments to append children occurs problem. Mixture the ways using block and passing from arguments to append children occurs problem. May 2, 2019
@youchan youchan changed the title Mixture the ways using block and passing from arguments to append children occurs problem. Mixture the way using block and passing from arguments to append children occurs problem. May 2, 2019
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

1 participant