Use for questions involving the use of ports for javascript interop in [elm]. Prefer to also tag with [ffi) to indicate javascript interop more generally, as ports are not the only and may not be the best tool for the job of interoperating with javascript.
Ports is a form of ffi in elm that permit communication with native javascript. Other forms of JavaScript interop in Elm include flags and custom elements.