Instance Methods
Introduction
An instance method is a function that is available within all component definitions. Each instance method is connected to various EJS internals, allowing for advanced functionality to be made available to components without tight coupling across the application.
Naming Convention
All instance methods must begin with the dollar character ($
), followed by a camel-cased string of alphanumeric characters. The first character following the dollar character should be a lowercase letter.
Standard Instance Methods
These standard instance methods are available by default with an EJS installation. You may activate each individually by enabling their respective plugin.
$findRouteByName (DEPRECATED)$generatePath$getRoute$redirectTo$setLocale$translateLast updated