UNPKG
generator-catberry
Version:
latest (0.4.0)
0.4.0
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0
Yeoman generator for Catberry Framework
github.com/catberry/generator-catberry
generator-catberry
/
generators
/
app
/
templates
/
example
/
catberry_components
/
pages
/
pages-navigation
/
index.js
17 lines
(13 loc)
•
304 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
'use strict'
;
class
PagesNavigation
{
/** * Gets data context for template engine. * This method is optional. *
@returns
{
Promise<Object>|Object|null|undefined
} Data context * for template engine. */
render
(
) {
return
this
.
$context
.
getStoreData
(); } }
module
.
exports
=
PagesNavigation
;