Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

148
Vistas
Onsen UI Back Button

I'm new to Onsen UI, and have been using it to build out a small mobile app for my wife's company. I initially was laying out my project using a single page, but that's starting to become a bit cumbersome as the project grows. Today I started breaking up my project into individual pages, and have the initial framework working but suddenly my ons-back-button isn't showing up. In reviewing the Onsen UI docs, I was surprised to see that the back button is a component of the ons-toolbar object (I think I came up with my initial working version playing around in the Onsen Playground). I'm wondering if the reason why this broke is because I don't have the back button in an ons-toolbar: it is in a div at the bottom of my page:

<div>
  <ons-back-button>Back</ons-back-button>
  <div class="right-float">
    <ons-button id="push-button" onclick="next()"></ons-button>
  </div>
</div>

Is it possible to use the ons-back-button with multi-page projects without placing in an ons-toolbar? No big deal if not, but just curious as to why this was previously working and now not.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Figured it out - I was using resetToPage method, so nothing was on my page stack. As soon as I used popPage(), my back button showed up.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda