getURLPath

Static getURLPath 

Source
pub static getURLPath: GetUrlPathInternalType
Expand description

Gets the current URL path as an array.

Examples

function setup() {
  let urlPath = getURLPath();
  for (let i = 0; i < urlPath.length; i++) {
    text(urlPath[i], 10, i * 20 + 20);
  }
}