MCPcopy Index your code

hub / github.com/francoischalifour/medium-zoom / functions

Functions51 in github.com/francoischalifour/medium-zoom

↓ 117 callersFunctionmediumZoom
(selector, options = {})
src/medium-zoom.js:10
↓ 40 callersMethodgetOptions
* Returns the zoom options. * * @returns The zoom options.
src/medium-zoom.d.ts:149
↓ 37 callersMethodopen
* Opens the zoom. * * @param options * @returns A promise resolving with the zoom.
src/medium-zoom.d.ts:67
↓ 31 callersMethodgetImages
* Returns the zoom images. * * @returns The zoom images.
src/medium-zoom.d.ts:156
↓ 23 callersMethodon
* Registers an event handler on each target of the zoom. * * @param type - The event type to listen for. * @param listener - The function to
src/medium-zoom.d.ts:124
↓ 18 callersMethodupdate
* Updates the options. * * @param options * @returns The zoom.
src/medium-zoom.d.ts:106
↓ 16 callersMethodattach
* Attaches the images to the zoom. * * @param selectors - The selectors describing the images. * @returns The zoom.
src/medium-zoom.d.ts:90
↓ 14 callersMethoddetach
* Releases the images from the zoom. * * @param selectors - The selectors describing the images. * @returns The zoom.
src/medium-zoom.d.ts:98
↓ 14 callersFunctionemptyRootBeforeEach
()
src/__tests__/medium-zoom.test.js:8
↓ 12 callersMethodclose
* Closes the zoom. * * @returns A promise resolving with the zoom.
src/medium-zoom.d.ts:74
↓ 6 callersMethodclone
* Extends the zoom with the provided options merged with the current ones. * * @param options * @returns The zoom.
src/medium-zoom.d.ts:114
↓ 6 callersFunctioncreateCustomEvent
(type, params)
src/utils.js:78
↓ 5 callersMethodgetZoomedImage
* Returns the current zoomed image. * * @returns The current zoomed image.
src/medium-zoom.d.ts:163
↓ 4 callersFunction_animate
()
src/medium-zoom.js:180
↓ 4 callersFunctionclose
()
src/medium-zoom.js:425
↓ 4 callersFunctionisNode
src/utils.js:6
↓ 4 callersMethodoff
* Unregisters an event handler. * * @param type - The event type to unregister. * @param listener - The function to remove from the event tar
src/medium-zoom.d.ts:138
↓ 4 callersMethodtoggle
* Toggles the zoom. * * @param options * @returns A promise resolving with the zoom.
src/medium-zoom.d.ts:82
↓ 2 callersFunctiongetImagesFromSelector
src/utils.js:13
↓ 2 callersFunctionisSvg
src/utils.js:8
↓ 1 callersFunction_handleCloseEnd
()
src/medium-zoom.js:432
↓ 1 callersFunction_handleOpenEnd
()
src/medium-zoom.js:279
↓ 1 callersFunctionattach
(...selectors)
src/medium-zoom.js:98
↓ 1 callersFunctioncloneTarget
src/utils.js:53
↓ 1 callersFunctioncreateOverlay
src/utils.js:45
↓ 1 callersFunctiongetZoom
()
examples/react/src/ImageZoom.tsx:11
↓ 1 callersFunctionisNodeList
src/utils.js:4
↓ 1 callersFunctionopen
({ target } = {})
src/medium-zoom.js:179
↓ 1 callersFunctiontoggle
({ target } = {})
src/medium-zoom.js:490
FunctionApp
()
examples/react/src/App.tsx:3
FunctionApp
()
examples/react-markdown/src/App.tsx:18
FunctionImageZoom
({ options, ...props }: ImageZoomProps)
examples/react/src/ImageZoom.tsx:8
Function_handleClick
src/medium-zoom.js:21
Function_handleKeyUp
src/medium-zoom.js:52
Function_handleScroll
()
src/medium-zoom.js:36
FunctionanotherUpdateFunction
()
src/__tests__/medium-zoom.test.js:1545
FunctionattachZoom
examples/react/src/ImageZoom.tsx:19
Functionclone
(options = {})
src/medium-zoom.js:96
Functiondetach
(...selectors)
src/medium-zoom.js:123
FunctionfindInStory
(selector)
cypress/support/commands.js:16
FunctiongetImages
()
src/medium-zoom.js:500
FunctiongetInStory
(selector)
cypress/support/commands.js:8
FunctiongetOptions
()
src/medium-zoom.js:498
FunctiongetZoomedImage
()
src/medium-zoom.js:502
FunctionisSupported
src/utils.js:1
FunctionloadStories
()
stories/config/config.js:18
Functionnoop
()
src/medium-zoom.js:17
Functionoff
(type, listener, options = {})
src/medium-zoom.js:163
Functionon
(type, listener, options = {})
src/medium-zoom.js:153
Functionupdate
(options = {})
src/medium-zoom.js:61
FunctionwithPreview
(story)
stories/config/decorators.js:1