Ionic Pull-Up Footer

Ionic Pull-Up Footer

A pull-up footer component for Ionic

Free!

(8)
Ariel Faur

Ariel Faur

Member since 2015

Details

Version:
1.1.0
Size:
1mb
Ionic:
1.3.x
Platforms:
iOS, Android
Released:
9 years ago
Updated:
8 years ago
Category:
Plugins
Tags:
footer, pull, expand, collapse, drag

The pull-up footer is a UI component built on top of Ionic's footer and offers an efficient way to hide/reveal information. The footer can fully expand to cover the content area of the screen or can be configured to expand to a maximum height.

Hey there! You'll need to log in before you can leave a comment here.

Juan David Nicholls

Juan David Nicholls   ·   9 years ago

Ohh man, thanks for this! Is Excellent! PD: Please add the "init-minimized" property! <ion-pull-up-footer class="bar-positive" minimize="true" init-minimized="true" max-height="150"> scope: { onExpand: '&', onCollapse: '&', onMinimize: '&', minimize: '=', maxHeight: '=?', defaultHeight: '=?', initMinimized: '=' } function computeHeights() { //...Your code if($scope.initMinimized){ minimize(); } //...Your code }

Ariel Faur

Ariel Faur   ·   9 years ago

The newer release supports this. Update with bower!

Juan David Nicholls

Juan David Nicholls   ·   9 years ago

Wowww, you are the best! :D

Justin Noel

Justin Noel   ·   9 years ago

This is a really great plugin (as are the side tabs)! What happens on Android < 4.4.1 without Crosswalk? Does the pull-up not work at all? Does it just not animate nicely? I'd like to integrate this plugin into an app, but I will not bother with Crosswalk.

Justin Noel

Justin Noel   ·   9 years ago

FYI: There seems to be a bug with setting the scroll property for the popup. In Chrome on desktop, the content will scroll properly (when the content is long enough). However, on Android (4.4.4), the content will NOT scroll. The scroll-bar does show that scrolling is required, but it simply will not work. Scrolling works decently on iOS (8). It's not inertia scrolling, but it does work.

Ariel Faur

Ariel Faur   ·   9 years ago

The plugin requires Crosswalk on Android < 4.4 or otherwise the UI won't render (it breaks!). Give it a try if you want, but I could not find a fix yet. As for the other bug, could you please open a new issue on GitHub?

Jorge Vidal

Jorge Vidal   ·   9 years ago

Very nice!! I have a question....how can I make work with a sliderbox inside the ion-pull-up-content?

Ariel Faur

Ariel Faur   ·   9 years ago

Do you mean to include an Ionic's slidebox? I am not even sure that would work, never tried!

Jorge Vidal

Jorge Vidal   ·   9 years ago

Yes, but is not working. Any idea why?

Ariel Faur

Ariel Faur   ·   9 years ago

Maybe you can share your code on codepen?

Jorge Vidal

Jorge Vidal   ·   9 years ago

http://codepen.io/jorgevidal/pen/BoWdzV

Ariel Faur

Ariel Faur   ·   9 years ago

You need to give the slidebox some height. Check this out: http://codepen.io/arielfaur/pen/meWMRp

Jorge Vidal

Jorge Vidal   ·   9 years ago

Thanx Ariel! Great job!

Vidran Abdovich

Vidran Abdovich   ·   8 years ago

There is the ion-pull-up-trigger directive. Is there an option to control only the slide up or slide down?

Ariel Faur

Ariel Faur   ·   8 years ago

What do you mean exactly?

Jodie

Jodie   ·   8 years ago

Bookmarked!

Juan David Nicholls

Juan David Nicholls   ·   8 years ago

Hi my friend! One question... is possible to do that like Android? from up to down? Maybe an Ionic Pull-Down Header? hahaha

  ·   just now

{{ reply.comment }}



Hey there! You'll need to log in before you can leave a comment here.

Michael Carr

Michael Carr   ·   7 years ago

When I launch the example index.html, I get the following in the console: Uncaught TypeError: angular.module(...).constant(...).constant(...).directive(...).component is not a function(…). I trust the ratings and your wonderful reviews, which makes me believe I didn't install the plugin incorrectly. I followed the directions and used bower to do the install. I am at a loss of what to try next. Any suggestions??? Thank you in advance for your hard work and time.

  ·   just now

{{ reply.comment }}



Hey there! You'll need to log in before you can leave a comment here.

r

r   ·   7 years ago

i used this plugin but it has some error: TypeError: undefined is not a function at computeDefaultHeights (file:///android_asset/www/lib/ionic-drawer/ion-pullup.js:65:31)

  ·   just now

{{ reply.comment }}



Hey there! You'll need to log in before you can leave a comment here.

Sulav Paudel

Sulav Paudel   ·   7 years ago

I am getting error for [footer]="pullup" in the below code. If I remove it it will work. Why it is not working?? <ion-pullup (onExpand)="footerExpanded()" (onCollapse)="footerCollapsed()" [(state)]="footerState"> <ion-pullup-tab [footer]="pullup" (tap)="toggleFooter()"> <ion-icon name="arrow-up" *ngIf="footerState == 0"></ion-icon><ion-icon name="arrow-down" *ngIf="footerState == 1"></ion-icon> </ion-pullup-tab> <ion-toolbar color="primary" (tap)="toggleFooter()"> <ion-title>Footer</ion-title> </ion-toolbar> <ion-content> ... FOOTER CONTENT ... </ion-content> </ion-pullup>

Matthieu

Matthieu   ·   6 years ago

Hi, I have the same problem, do you solve it?

Antonio Reis

Antonio Reis   ·   6 years ago

Just remove the [footer]="pullup" But I am facing a problem when I try to drag the component up or down, it apparently only works when we click on it.

  ·   just now

{{ reply.comment }}



Hey there! You'll need to log in before you can leave a comment here.

  ·   just now

{{ comment.comment }}

  ·   just now

{{ reply.comment }}



Hey there! You'll need to log in before you can leave a comment here.

  ·   just now

{{ comment.comment }}

  ·   just now

{{ reply.comment }}



Hey there! You'll need to log in before you can leave a comment here.

Sulav Paudel

Sulav Paudel   ·   7 years ago

I am getting error for [footer]="pullup" in the below code. If I remove it it will work. Why it is not working?? <ion-pullup (onExpand)="footerExpanded()" (onCollapse)="footerCollapsed()" [(state)]="footerState"> <ion-pullup-tab [footer]="pullup" (tap)="toggleFooter()"> <ion-icon name="arrow-up" *ngIf="footerState == 0"></ion-icon><ion-icon name="arrow-down" *ngIf="footerState == 1"></ion-icon> </ion-pullup-tab> <ion-toolbar color="primary" (tap)="toggleFooter()"> <ion-title>Footer</ion-title> </ion-toolbar> <ion-content> ... FOOTER CONTENT ... </ion-content> </ion-pullup>

Matthieu

Matthieu   ·   6 years ago

Hi, I have the same problem, do you solve it?

Antonio Reis

Antonio Reis   ·   6 years ago

Just remove the [footer]="pullup" But I am facing a problem when I try to drag the component up or down, it apparently only works when we click on it.

  ·   just now

{{ reply.comment }}



Hey there! You'll need to log in before you can leave a comment here.

r

r   ·   7 years ago

i used this plugin but it has some error: TypeError: undefined is not a function at computeDefaultHeights (file:///android_asset/www/lib/ionic-drawer/ion-pullup.js:65:31)

  ·   just now

{{ reply.comment }}



Hey there! You'll need to log in before you can leave a comment here.

Michael Carr

Michael Carr   ·   7 years ago

When I launch the example index.html, I get the following in the console: Uncaught TypeError: angular.module(...).constant(...).constant(...).directive(...).component is not a function(…). I trust the ratings and your wonderful reviews, which makes me believe I didn't install the plugin incorrectly. I followed the directions and used bower to do the install. I am at a loss of what to try next. Any suggestions??? Thank you in advance for your hard work and time.

  ·   just now

{{ reply.comment }}



Hey there! You'll need to log in before you can leave a comment here.

Juan David Nicholls

Juan David Nicholls   ·   8 years ago

Hi my friend! One question... is possible to do that like Android? from up to down? Maybe an Ionic Pull-Down Header? hahaha

  ·   just now

{{ reply.comment }}



Hey there! You'll need to log in before you can leave a comment here.

Jodie

Jodie   ·   8 years ago

Bookmarked!

Ariel Faur

Ariel Faur   ·   8 years ago

What do you mean exactly?

Vidran Abdovich

Vidran Abdovich   ·   8 years ago

There is the ion-pull-up-trigger directive. Is there an option to control only the slide up or slide down?

Jorge Vidal

Jorge Vidal   ·   9 years ago

Thanx Ariel! Great job!

Ariel Faur

Ariel Faur   ·   9 years ago

You need to give the slidebox some height. Check this out: http://codepen.io/arielfaur/pen/meWMRp

Ariel Faur

Ariel Faur   ·   9 years ago

The newer release supports this. Update with bower!

Ariel Faur

Ariel Faur   ·   9 years ago

Maybe you can share your code on codepen?

Jorge Vidal

Jorge Vidal   ·   9 years ago

Yes, but is not working. Any idea why?

Ariel Faur

Ariel Faur   ·   9 years ago

Do you mean to include an Ionic's slidebox? I am not even sure that would work, never tried!

Jorge Vidal

Jorge Vidal   ·   9 years ago

Very nice!! I have a question....how can I make work with a sliderbox inside the ion-pull-up-content?

Ariel Faur

Ariel Faur   ·   9 years ago

The plugin requires Crosswalk on Android < 4.4 or otherwise the UI won't render (it breaks!). Give it a try if you want, but I could not find a fix yet. As for the other bug, could you please open a new issue on GitHub?

Justin Noel

Justin Noel   ·   9 years ago

FYI: There seems to be a bug with setting the scroll property for the popup. In Chrome on desktop, the content will scroll properly (when the content is long enough). However, on Android (4.4.4), the content will NOT scroll. The scroll-bar does show that scrolling is required, but it simply will not work. Scrolling works decently on iOS (8). It's not inertia scrolling, but it does work.

Justin Noel

Justin Noel   ·   9 years ago

This is a really great plugin (as are the side tabs)! What happens on Android < 4.4.1 without Crosswalk? Does the pull-up not work at all? Does it just not animate nicely? I'd like to integrate this plugin into an app, but I will not bother with Crosswalk.

Juan David Nicholls

Juan David Nicholls   ·   9 years ago

Wowww, you are the best! :D

Juan David Nicholls

Juan David Nicholls   ·   9 years ago

Ohh man, thanks for this! Is Excellent! PD: Please add the "init-minimized" property! <ion-pull-up-footer class="bar-positive" minimize="true" init-minimized="true" max-height="150"> scope: { onExpand: '&', onCollapse: '&', onMinimize: '&', minimize: '=', maxHeight: '=?', defaultHeight: '=?', initMinimized: '=' } function computeHeights() { //...Your code if($scope.initMinimized){ minimize(); } //...Your code }

Jorge Vidal

Jorge Vidal   ·   9 years ago

http://codepen.io/jorgevidal/pen/BoWdzV

Hey there! You'll need to log in before you can leave a rating here.

Juan David Nicholls   ·     ·   9 years ago

Very niceee!

Vlada Janosevic   ·     ·   9 years ago

Nice

Aaron   ·     ·   9 years ago

Exactly what I needed.

Rob Laverty   ·     ·   9 years ago

just awesome! thank you

Alex Dyba   ·     ·   9 years ago

Actually its six of five stars

Jorge Vidal   ·     ·   9 years ago

I agree with Alex 6 stars, very nice plug in!

Adrien   ·     ·   8 years ago

Thanks for your work Ariel ! Your components are great !

Michael Khalili   ·     ·   8 years ago

Thanks Ariel. This component works great and your support is awesome.

  ·     ·   just now

{{ rating.comment }}

  ·     ·   just now

{{ rating.comment }}

Michael Khalili    ·     ·   8 years ago

Thanks Ariel. This component works great and your support is awesome.

Adrien    ·     ·   8 years ago

Thanks for your work Ariel ! Your components are great !

Jorge Vidal    ·     ·   9 years ago

I agree with Alex 6 stars, very nice plug in!

Alex Dyba    ·     ·   9 years ago

Actually its six of five stars

Rob Laverty    ·     ·   9 years ago

just awesome! thank you

Aaron    ·     ·   9 years ago

Exactly what I needed.

Vlada Janosevic    ·     ·   9 years ago

Nice

Juan David Nicholls    ·     ·   9 years ago

Very niceee!