Sign in
vanadium
/
release.projects.luma_third_party
/
6699d7bbc0f67c3f8b84502d5e2957e3b72750d9
/
.
/
crowdstf
/
res
/
app
/
components
/
stf
/
common-ui
/
text-focus-select
/
text-focus-select-directive.js
blob: 62a0cd4bbd02c5c1980b4d016c4e81871d9d306b [
file
] [
log
] [
blame
]
module
.
exports
=
function
textFocusSelectDirective
()
{
return
{
restrict
:
'AC'
,
link
:
function
(
scope
,
element
)
{
// TODO: try with focus event
element
.
bind
(
'click'
,
function
()
{
this
.
select
()
})
}
}
}