Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2 from gbirke/color_param

Documentation for the color parameter
  • Loading branch information...
commit c78806ec47d509a7ea9d4706e3844866b69c00f0 2 parents 20e41da + e3f81a0
@Strangemother authored
Showing with 9 additions and 1 deletion.
  1. +9 −1 README.rst
View
10 README.rst
@@ -70,7 +70,7 @@ Your pretty much good to go! - read more for additional parameters.
Options
=======
-You may pass two parameters into the plugin.
+You may pass three parameters into the plugin.
1. The placeholder text:
@@ -89,6 +89,14 @@ You may pass two parameters into the plugin.
$('#search').placeholder('Type your tags...', true);
by default this is false. It doesn't matter which is the first passed value.
+
+3. Overriding the default placeholder color.
+
+ While the input element will get the ``.placeholder`` class which can be styled with CSS,
+ the color of the placeholder text is set inside the plugin. You can configure the color
+ with a third parameter:
+
+ $('#search').placeholder('Type your tags...', true, '#ffcccc');
Degradation
===========
Please sign in to comment.
Something went wrong with that request. Please try again.