DioxusLabs/taffy

Wasm bindings

開放

#241 建立於 2022年11月13日

 (7 則留言) (16 個反應) (0 位負責人)Rust (192 個分叉)github user discovery
good first issue

倉庫指標

星標
 (3,189 顆星)
PR 合併指標
 (平均合併 15小時 41分鐘) (30 天內合併 25 個 PR)

描述

What problem does this solve or what need does it fill?

It seems that the wasm bindings don't exist anymore, so it's difficult to use this library from JS-land. I made a JS terminal library many years ago using Yoga and I'd like to rebuild it, evaluating new tech options.

What solution would you like?

Ideally a basic wasm API would be great. If not possible, it'd be useful to at least annotate FlexboxLayout & its enums with the wasm-bindgen attributes (cf second part of this answer here: https://stackoverflow.com/a/65336309), as there's a lot of them and duplicating them would be very painful.

What alternative(s) have you considered?

Keep using Yoga, but I'm interested to follow a bit the development here.

貢獻者指南