hideShowPassword icon indicating copy to clipboard operation
hideShowPassword copied to clipboard

Possibility to use existing wrapper (parent) element

Open lkrzyzanek opened this issue 8 years ago • 1 comments

wrapElement method always creates a new "wrapper" element around input. In some situations it would be great to pass the wrapper element within options and just do initialization like copy all CSS etc.

My use case is that we uses "adaptive placeholders" which requires to have label exactly after input element. Something like this:

<div>
  <input>
  <label>
</div>

lkrzyzanek avatar Apr 13 '17 08:04 lkrzyzanek

This is what I meant: https://github.com/cloudfour/hideShowPassword/pull/51 (min version is not committed).

lkrzyzanek avatar Apr 13 '17 11:04 lkrzyzanek