Sign in
vanadium
/
release.projects.luma_third_party
/
6699d7bbc0f67c3f8b84502d5e2957e3b72750d9
/
.
/
crowdstf
/
res
/
app
/
components
/
stf
/
common-ui
/
modals
/
external-url-modal
/
on-load-event-directive.js
blob: e888d5740f452c9e56964c8eb6a547523c996b0e [
file
] [
log
] [
blame
]
// TODO: Test this
module
.
exports
=
function
()
{
return
function
(
scope
,
element
,
attrs
)
{
scope
.
$watch
(
attrs
.
pageVisible
,
function
()
{
element
.
bind
(
'load'
,
function
()
{
scope
.
$apply
(
attrs
.
pageLoad
)
})
})
}
}