mootools / mootools-core

MooTools Core Repository
https://mootools.net
2.65k stars 507 forks source link

Enhancement request: Browser.Features.input #2725

Open sebstyle opened 9 years ago

sebstyle commented 9 years ago

I would very much like to see Browser.Features.input implemented as an array of supported inputs. Returns: ['text','button','checkbox','number','color','date','datetime','time',..] For an easy way to check if the browser supports advanced html5 input types like:

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

DimitarChristoff commented 9 years ago

you could use modernizr or has.js.

On Saturday, June 27, 2015, Sebastiaan notifications@github.com wrote:

I would very much like to see Browser.Features.input implemented as an array of supported inputs. Returns: ['text','button','checkbox','number','color','date','datetime','time',..] For an easy way to check if the browser supports advanced html5 input types like:

  • color
  • date
  • datetime
  • datetime-local
  • email
  • month
  • number
  • range
  • search
  • tel
  • time
  • url
  • week

— Reply to this email directly or view it on GitHub https://github.com/mootools/mootools-core/issues/2725.

Dimitar Christoff

"JavaScript is to JAVA what hamster is to ham" @D_mitar - https://github.com/DimitarChristoff