Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
Codeinfotech
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Trainees_UI_Team
Codeinfotech
Commits
e91bba25
Commit
e91bba25
authored
5 years ago
by
abraham
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'abraham' into 'master'
Abraham See merge request
!27
parents
c828daea
a060ca00
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
terms.component.ts
src/app/body/terms/terms.component.ts
+4
-1
No files found.
src/app/body/terms/terms.component.ts
View file @
e91bba25
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Router
,
ActivatedRoute
}
from
'@angular/router'
;
import
*
as
$
from
'jquery'
;
@
Component
({
selector
:
'app-terms'
,
templateUrl
:
'./terms.component.html'
,
...
...
@@ -8,12 +9,14 @@ import { Router,ActivatedRoute } from '@angular/router';
export
class
TermsComponent
implements
OnInit
{
constructor
(
private
router
:
Router
,
private
route
:
ActivatedRoute
)
{
}
private
route
:
ActivatedRoute
)
{}
ngOnInit
()
{
}
goToPage
(
path
,
data
=
null
){
this
.
router
.
navigateByUrl
(
path
,{
queryParams
:
data
});
document
.
body
.
scrollTop
=
document
.
documentElement
.
scrollTop
=
0
;
}
onClick
(){
let
x
=
document
.
querySelector
(
"#sec"
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment