Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
DaTA
DDLTN
Commits
60e4c90e
Commit
60e4c90e
authored
Feb 05, 2017
by
Francois Hendriks
Browse files
index dropdowns
parent
1cfe47a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend_ddltn/app/js/personal/animateController.js
View file @
60e4c90e
...
...
@@ -19,13 +19,12 @@ angular.module('frontendDdltnApp.animate')
console
.
log
(
"
max-screen0
"
);
element
.
on
(
'
mouseenter
'
,
function
(
event
)
{
scope
.
$apply
(
function
()
{
console
.
log
(
"
it should be working
"
);
scope
.
$emit
(
'
scope.value
'
,
!
scope
.
value
);
scope
.
value
=
!
scope
.
value
;
});
});
element
.
on
(
'
mouseleave
'
,
function
(
event
)
{
scope
.
$apply
(
function
()
{
scope
.
$emit
(
scope
.
value
,
!
scope
.
value
)
;
scope
.
value
=
!
scope
.
value
;
});
});
console
.
log
(
"
max-screen
"
);
...
...
@@ -33,7 +32,7 @@ angular.module('frontendDdltnApp.animate')
else
{
element
.
on
(
'
click
'
,
function
(
event
)
{
scope
.
$apply
(
function
()
{
scope
.
$emit
(
scope
.
value
,
!
scope
.
value
)
;
scope
.
value
=
!
scope
.
value
;
});
});
console
.
log
(
"
min-screen
"
);
...
...
Write
Preview
Supports
Markdown
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