Skip to content

Commit aa7b454

Browse files
committed
Document public properties of RouterService
1 parent 9654d2a commit aa7b454

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

packages/ember-routing/lib/services/router.js

+24
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,33 @@ import { shallowEqual } from '../utils';
1818
@category ember-routing-router-service
1919
*/
2020
const RouterService = Service.extend({
21+
22+
/**
23+
@property currentRouteName
24+
@type String
25+
@public
26+
*/
2127
currentRouteName: readOnly('_router.currentRouteName'),
28+
29+
/**
30+
@property currentURL
31+
@type String
32+
@public
33+
*/
2234
currentURL: readOnly('_router.currentURL'),
35+
36+
/**
37+
@property location
38+
@type String
39+
@public
40+
*/
2341
location: readOnly('_router.location'),
42+
43+
/**
44+
@property rootURL
45+
@type String
46+
@public
47+
*/
2448
rootURL: readOnly('_router.rootURL'),
2549
_router: null,
2650

0 commit comments

Comments
 (0)