SkillAgentSearch skills...

NativeColorPicker

A Native Color Picker Polyfill for the HTML5's "color" input type on Internet Explorer

Install / Use

/learn @dciccale/NativeColorPicker
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

nativeColorPicker

A Native Color Picker Polyfill for the HTML5's "color" input type on Internet Explorer

Browser support

IE6+

Demo

See demo.html - online

Usage

(just showing the minimum code needed)

  <!-- include the plugin -->
  <script src="nativeColorPicker.js"></script>

  <input id="color" type="color" />

  <script>
    // init the plugin using the input id
    window.nativeColorPicker.init('color');
  </script>

How?

See <a href="http://msdn.microsoft.com/en-us/library/ie/ms536349(v=vs.85).aspx">ChooseColorDlg method in MSDN</a>

Screenshots

Internet Explorer

nativeColorPicker Internet Explorer

Google Chrome (just using HTML5 <input type="color"> no js here)

nativeColorPicker Google Chrome

License

See LICENSE.txt

Related Skills

View on GitHub
GitHub Stars42
CategoryDevelopment
Updated4y ago
Forks9

Languages

JavaScript

Security Score

75/100

Audited on Jun 30, 2021

No findings