attachinary icon indicating copy to clipboard operation
attachinary copied to clipboard

Custom files_container_selector

Open cwsaylor opened this issue 11 years ago • 1 comments

This adds the ability to specify a custom target for the files_container_selector:

$('.attachinary-input').attachinary({ files_container_selector: "#preview-image" })

cwsaylor avatar Oct 26 '14 21:10 cwsaylor

@cwsaylor this is nice, but it breaks the existing api where by one could specify that in data-attachinary. Instead of replacing the @options if statement it should come after it with else if.

itaibenari avatar Oct 27 '14 06:10 itaibenari