{"title":"Phoenix LiveView 0.18 \u306e\u65b0\u3057\u3044\u69cb\u6587\u306e\u899a\u66f8\u3068QR\u30b3\u30fc\u30c9","version":"1.0","height":"190","provider_url":"https://hatena.blog","categories":["Elixir","Phoenix","\u3081\u3082"],"description":"Phoenix LiveView 0.18 \u306e\u69cb\u6587\u3092\u3044\u3058\u3063\u3066\u3044\u307e\u3059\u3002 \u5177\u4f53\u7684\u306b\u306f\u3053\u308c\u3002 hexdocs.pm :if and :for It is a syntax sugar for <%= if .. do %> and <%= for .. do %> that can be used in regular HTML, function components, and slots. For example in an HTML tag: <table id=\"admin-table\" :if={@admin?}> <tr :for={user <- @users}> <td><%= us\u2026","provider_name":"Hatena Blog","published":"2022-10-30 18:40:40","blog_url":"https://blog.emattsan.org/","width":"100%","author_name":"E_Mattsan","blog_title":"\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u7684\u611b\u60c5","author_url":"https://blog.hatena.ne.jp/E_Mattsan/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/E/E_Mattsan/20221030/20221030183116.png","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.emattsan.org%2Fentry%2F2022%2F10%2F30%2F184040\" title=\"Phoenix LiveView 0.18 \u306e\u65b0\u3057\u3044\u69cb\u6587\u306e\u899a\u66f8\u3068QR\u30b3\u30fc\u30c9 - \u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u7684\u611b\u60c5\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","url":"https://blog.emattsan.org/entry/2022/10/30/184040"}