Skip to content

Delete element, and multiple bricklaer on same page. #10

Description

@epicleptico

I was working in this issue on my "own" version of this plugin (Just rewrote in my application style), and with this slight changes you can:

  • Have multiple bricklayer on same page
  • Remove elements without trouble.

This is a gist with the plugin code https://gist.github.com/epicleptico/27e6e8e444d11d0aa4686f112ea7964f (As you must see i have application specific code style).

You can take a look on working plunkr on https://plnkr.co/edit/3NmNUIfACo6Yb8qCniZb (Use full screen preview)

Just to note, for multiple versions you must place id and data-target on main div and child divs. And for delete you must place inside a $timeout a $broadcast with removing data.

Hope that helps. Thanks

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions