Skip to content

Kirby 5.1.2

$assets->js()

Get all js files

$assets->js(): array

Return type

array

This method modifies the existing $assets object it is applied to and returns it again.

Parent class

Kirby\Panel\Assets