push Action

Use push to add a page to the top of the stack, making it visible.

If the specified page is already visible, this action display an error.

Examples

# Ruby
push("/page2")
#![allow(unused)]
fn main() {
// Rust
push("/page2")
}