5 lines
68 KiB
JSON
Raw Normal View History

{
"id": "api/router/Scroll",
"title": "Scroll",
"contents": "\n\n<article>\n <div class=\"breadcrumb-container\">\n <div class=\"breadcrumb\">\n <script type=\"application/ld+json\">\n {\n \"@context\": \"http://schema.org\",\n \"@type\": \"BreadcrumbList\",\n \"itemListElement\": [\n { \"@type\": \"ListItem\", \"position\": 1, \"item\": { \"@id\": \"https://angular.io//api\", \"name\": \"API\" } },\n { \"@type\": \"ListItem\", \"position\": 2, \"item\": { \"@id\": \"https://angular.io/api/router\", \"name\": \"@angular/router\" } },\n { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://angular.io/api/router/Scroll\", \"name\": \"Scroll\" } }\n ]\n }\n </script>\n <a href=\"/api\">API</a> > <a href=\"api/router\">@angular/router</a>\n </div>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/router/src/events.ts?message=docs(router)%3A%20describe%20your%20change...#L424-L445\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/router/src/events.ts#L424-L445\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n \n <header class=\"api-header\">\n <h1 id=\"scroll\">Scroll<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/router/Scroll#scroll\"><i class=\"material-icons\">link</i></a></h1>\n \n <label class=\"api-type-label class\">class</label>\n \n \n \n </header>\n \n <aio-toc class=\"embedded\"></aio-toc>\n\n <div class=\"api-body\">\n \n <section class=\"short-description\">\n <p>An event triggered by scrolling.</p>\n\n \n </section>\n \n \n \n <section class=\"class-overview\">\n<code-example language=\"ts\" hidecopy=\"true\">\nclass <a href=\"api/router/Scroll\" class=\"code-anchor\">Scroll</a> {\n <a class=\"code-anchor\" href=\"api/router/Scroll#constructor()\"><span class=\"member-name\">constructor</span>(routerEvent: NavigationEnd, position: [number, number], anchor: string)</a>\n <a class=\"code-anchor\" href=\"api/router/Scroll#routerEvent\"><span class=\"member-name\">routerEvent</span>: NavigationEnd</a>\n <a class=\"code-anchor\" href=\"api/router/Scroll#position\"><span class=\"member-name\">position</span>: [number, number] | null</a>\n <a class=\"code-anchor\" href=\"api/router/Scroll#anchor\"><span class=\"member-name\">anchor</span>: string | null</a>\n <a class=\"code-anchor\" href=\"api/router/Scroll#toString\"><span class=\"member-name\">toString</span>(): string</a>\n}\n</code-example>\n\n \n \n\n</section>\n\n\n \n\n \n \n \n\n\n\n\n\n\n<h2 id=\"constructor\">Constructor<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/router/Scroll#constructor\"><i class=\"material-icons\">link</i></a></h2>\n<a id=\"constructor()\"></a>\n<table class=\"is-full-width method-table constructor\">\n \n <tbody>\n \n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">constructor</span>(routerEvent: <a href=\"api/router/NavigationEnd\" class=\"code-anchor\">NavigationEnd</a>, position: [number, number], anchor: string)</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters\">Parameters</h6>\n <table class=\"is-full-width list-table parameters-table constructor-overload-parameters\">\n <tbody>\n \n <tr class=\"constructor-overload-parameter\">\n <td class=\"param-name\">\n <a id=\"\"></a>\n <code>routerEvent</code>\n </td>\n <td class=\"param-type\"><code><a href=\"api/router/NavigationEnd\" class=\"code-anchor\">NavigationEnd</a></code></td>\n <td class=\"param-description\">\n
}