Skip to content

Custom files_container_selector#97

Open
cwsaylor wants to merge 1 commit intoassembler:masterfrom
cwsaylor:custom_container
Open

Custom files_container_selector#97
cwsaylor wants to merge 1 commit intoassembler:masterfrom
cwsaylor:custom_container

Conversation

@cwsaylor
Copy link
Copy Markdown

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

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

@itaibenari
Copy link
Copy Markdown
Collaborator

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants