input/window-dimensions.js
function WindowDimensions() {
    return signal(function (next) {
        window.addEventListener("resize", function (e) {
            next({
                width: window.innerWidth
                , height: window.innerHeight
            })
        })
    }, {
        width: window.innerWidth
        , height: window.innerHeight
    })
}
function WindowDimensions() {
    return signal(function (next) {
        window.addEventListener("resize", function (e) {
            next({
                width: window.innerWidth
                , height: window.innerHeight
            })
        })
    }, {
        width: window.innerWidth
        , height: window.innerHeight
    })
}
Signal { width: Number, height: Number }