Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のようなレコードがあるとします。
type Library = { books : [Book] } type Book = { title : String, year : Int }
そして、ライブラリ レコードを埋める UI を動的に作成したいと考えています。本ごとに 2 つのテキスト フィールドを作成する「追加」ボタンが必要です。
また、テキスト フィールド内での編集は、レコード構造ですぐに同期されます。
elm 0.12 でこれを達成するにはどうすればよいですか?
インタラクティブな UI 要素について学び、取得したいものとほぼ同形のTODO リストの例を理解します。