Git Product home page Git Product logo

dylay's Introduction

๐Ÿ’ซ About Me:

๐Ÿ”ญ Iโ€™m currently working on SliDesk, VertJS
๐ŸŒฑ Iโ€™m currently learning GreenIT, ... in dev we learn every day

๐ŸŒ Socials:

https://gouz.dev

๐Ÿ“Š GitHub Stats:


๐Ÿ† GitHub Trophies

๐Ÿ” Top Contributed Repo

dylay's People

Contributors

gouz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dylay's Issues

Does not reposition when add an element to the dom

First of all, thank you for this amazing plugin. I played a little bit with that but I'm not too good with javascript unfortunately. So I need help.

I'm using this plugin on my main wall, but when the user add a new post i display it with mustache template and then i call the method position of dylay but doesn't happen anything or better the plugin doesn't recognizes the new element. how can i fix that?

Let's say this scenario

<div class="waller row">
   <div class="col-md-6 time-line">Hey Man how are you?</div>
   <div class="col-md-6 time-line">Hey Man What's up?</div>
   <div class="col-md-6 time-line">Hey Man are you ok?</div>
</div>
var $dylay = jQuery('.waller');

// init the script
$dylay.dylay({
    // speed of animation
    speed: 800,
    // make your animation yummy
    // selector to define elements
        selector: '.time-line'
    });

Then i do a call ajax on the success method i append the result to my dom

 success: function(data) {
    post = { post : data };
     $.Mustache.load('js/templates/wall/post.htm')
    .done(function () {
              // append the result to my doom
          $('.waller .time-line:eq(0)').mustache('post-template', post, { method: 'after' });
    });

        $('.waller').dylay('position');
  },

template:

<script id="post-template" type="text/x-handlebars-template">
       <div class="col-md-6 time-line">{{post.result}}</div>
</script>

filter no result

Hi, first of all, thanks for the wonderful plugin and I love the filter function.

I'm wondering if the filter function can be upgraded or modify into "search" function?
Instead of having the list of filter options, i would like to make a text box for user to insert search terms.

I managed to call the filter function, however, I need a work around for "no result".
Any idea?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.