Skip to content

Function: slideFromPath()

slideFromPath(path, base, ids): number

Defined in: path-binding.ts:39

pathname → slide index; -1 when the path is not under base (not ours — never navigate on foreign paths). Unknown tails resolve to 0.

Parameters

path

string

base

string

ids

readonly string[]

Returns

number