Properties
Private _rules
_rules
: IRule[] = [{name: 'namespace',type: 'strings',},{name: 'custom',type: 'function',},]
logger
logger
: Logger = new Logger('@barba/core')
Methods
Private _calculatePriority
-
Parameters
Returns number
Private _check
-
Parameters
-
-
-
-
match: any
-
Optional direction: "from" | "to"
Returns boolean
add
- add(type: "rule" | "transition", data: any): void
-
Parameters
-
type: "rule" | "transition"
-
data: any
Returns void
Init store.