tomayac’s avatartomayac’s Twitter Archive—№ 17,990

    1. Finally wrote down an idea I was sitting on: JS Input Masking 🎭—discourse.wicg.io/t/proposal-input-masking/5408 `js new Intl.InputMask('phone-number', { locale: 'de-DE', countryCode: 'leadingPlus', areaCode: 'leadingZero', groupSize: 2, }).format('00494012345678')) // "+49 (0)40 12 34 56 78"
  1. …in reply to @tomayac
    Obligatory syntax error in the tweet. 🤦‍♂️ Fixed on GitHub and WICG Discord, but up forever on Twitter.