JSFiddle - React, Tailwind, and code Playground

Fliplet.Pages.getByName()

by tonytlwu

JavaScript

Fliplet.Pages.getByName = function(pageName){
	// returns page ID according to pageName, or null if it's not found
};

Fliplet.Navigate.screen(16) // Goes to page with ID 16
Fliplet.Navigate.screen(Fliplet.Pages.getByName('Login page'))