Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

Add responsive to the API #13

Closed
oyvindhermansen opened this issue Sep 12, 2016 · 0 comments
Closed

Add responsive to the API #13

oyvindhermansen opened this issue Sep 12, 2016 · 0 comments

Comments

@oyvindhermansen
Copy link
Owner

oyvindhermansen commented Sep 12, 2016

For example give the heightify a method that turns heightify off on mobile devices.
(You would need heightify on mobile mostly because the cards is just stacking on top of each other.

some pseudo code to illustrate

/**
@returns {boolean} true/false
*/
responsive() {
  if (opts.responsive) {
    // run heightify through a check
   // for when on mobile devices
  }
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant