1.0.2 • Published 2 years ago

placeholder-master v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Title

The placeholder package-master library is well crafted to help you add super labels as placeholders in your inputs

syntax:

new Input(class_name,placeholder_names,placeholder_color,font_size,off_color,delay)

Parameter Description

class_name: defines the classname to apply the label placeholders
placeholder_names<array>: defines the placeholder texts from the first element to the last
placeholder_color: defines color of the placeholder labels
font_size: defines font size of the placeholder texts
off_color: defines color of the placeholder texts when focused(offset color)
delay: defines delay value of placeholders that the labels take to offset in seconds

Sample usages:

Demonstration

  • Add some placeholder
    Add label
  • Get Offset on click onclick offset