This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const mimicHover = (ele/*: DOMNode*/) => { | |
| var e = document.createEvent('MouseEvents'); | |
| e.initEvent('mouseover', true, false); | |
| ele.dispatchEvent && ele.dispatchEvent(e); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Even though we import all styles/js modularly, these | |
| * global animation-related styles don't make it, so we add them separately. */ | |
| .move-up-appear, | |
| .move-up-enter, | |
| .move-up-leave { | |
| -webkit-animation-duration: .2s; | |
| animation-duration: .2s; | |
| -webkit-animation-fill-mode: both; | |
| animation-fill-mode: both; | |
| -webkit-animation-play-state: paused; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| When logged into Segment dashboard and looking at event schema for source, open dev tools and go to Apollo Dev Tools (chrome extension). | |
| In GraphiQL run this query: | |
| query getSourceData($workspaceSlug: String!, $sourceSlug: String!) { | |
| me { | |
| isAdmin | |
| id | |
| __typename | |
| } |
OlderNewer