Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F123244703
helpers.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Jul 25, 23:33
Size
437 B
Mime Type
text/x-java
Expires
Sun, Jul 27, 23:33 (2 d)
Engine
blob
Format
Raw Data
Handle
27668879
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
helpers.js
View Options
import
*
as
React
from
'react'
;
export
class
BsPrefixComponent
extends
React
.
Component
{}
// Need to use this instead of typeof Component to get proper type checking.
export
function
getOverlayDirection
(
placement
,
isRTL
)
{
let
bsDirection
=
placement
;
if
(
placement
===
'left'
)
{
bsDirection
=
isRTL
?
'end'
:
'start'
;
}
else
if
(
placement
===
'right'
)
{
bsDirection
=
isRTL
?
'start'
:
'end'
;
}
return
bsDirection
;
}
Event Timeline
Log In to Comment