Giter Site home page Giter Site logo

meteor-animate's People

Contributors

mplatts 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  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  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  avatar  avatar  avatar

meteor-animate's Issues

if/else works but if alone not working

the longMessage helper workers properly but when the showContent helper is true the item just appears - it doesn't do an animation, and if I set showContent to false the content doesn't remove its self from the display and then when showContent is true again the content is duplicated.

  <div class="row z-depth-1" style="background-color: white; margin-top: 0; padding: 10px 2px;">
    {{#transition in="fadeIn:1500" out="fadeOut"}}
      {{#if longMessage}}
        <div class="center">
          <h1 style="text-align: center;">
            Welcome to the Engine
          </h1>
          <a id="showContent" class="btn" style="">Create your Admin Account</a>
        </div>
      {{else}}
        <h1 style="text-align: center;">
          Welcome
        </h1>
      {{/if}}
    {{/transition}}
  </div>
  <div class="row">
    <div class="col s12 m6 offset-l2 l4">
      {{#transition in="flipInLeft:1500" out="flipOutRight"}}
        {{#if showContent}}
          {{> rcSidebar}}
        {{/if}}
      {{/transition}}
    </div>
    <div class="col s12 m6 l4">
      {{#transition in="flipInRight:1500" out="flipOutLeft"}}
        {{#if showContent}}
          {{> rcSidebar}}
        {{/if}}
      {{/transition}}
    </div>
  </div>

Animation in a click event?

How can i make an animation in a click event?

            <button class="sort">Sort</button>

                {{#transition in="bounceInLeft" out="bounceOut"}}
                {{#each items}}
                        <li class="animated out">{{> Item }}</li>
                {{/each}}
                {{/transition}}

Package without bundled animate.css

I like this package, but I already included animate.css in my application using the SASS version - which gives better control about which animations are actually included, and thus allows me to reduce the file sizes for my mobile app. So I would like to recommend to split this package in two: one for the Meteor side of the implementation, and one for the base animate.css file.

New element moved to the end of the list

It seems that your code is rearranging/moving any new element in a list to the end even the subscription is sorting it the other way around.

Subscription:

//...
return {posts: Posts.find({},{sort:{timestamp: -1}})}
//...

Consumer:

    {{#transition in="flipInX" out="flipOutX"}}
      {{#each posts}}
          <div>
        {{message}}
          </div>
      {{/each}}
    {{/transition}}

Everything is fine again once I remove the transition.

Thanks for your really cool package!

Triggering static animations

In the example, and documentation, static animations only 'animate' when they're first rendered. Is there a way to trigger an animation in response to an event? Say, for example, if I want to apply an in-place shake to incorrectly filled out form fields and when the user clicks the button, the invalid fields animate. Is there a way to do this? Or should I just 'blink' something else to trigger it?

reactjs

Awesome, awesome plugin. Anyone love for reactjs + meteor (& flow router)? :)

Interfering with onRendered function

I need to run a resize() function which adds a style="height:Xpx" to a div.

This package works really nicely (thanks!) but it also interferes with this function:

Template.companyTweets.onRendered(function() {
	this.autorun(() => {
			resize();
		});
});

The style is no longer applied if I use the package?

Speeding Up Animations?

What's the best way to time these transitions/animations? Should I force-edit the CSS classes of my respective animations or is there a way to implement that on the API of the package? Basically, my zoomIn and zoomOut transitions are just a tad too slow.

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.