Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49085

Load an url depending a condition

$
0
0

Hello everyone, given a condition, if it is true, how is it possible to load a specific url?

  const completarRegistro =()=>{

    if(codigo===codigo_agregado){

/ *
Here I must load a specific url.

In the buttons href = "/ url" is used

And what can I use here? * /
    }
    else{
      setCount(6);

    }

  }

Thanks in advance.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49085

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>