MCPcopy Create free account

hub / github.com/alshdavid-public/crayon / functions

Functions141 in github.com/alshdavid-public/crayon

↓ 60 callersMethodpath
(path: string, ...handlers: handlerFunc[])
src/crayon/src/platform/router/group.ts:11
↓ 32 callersMethodload
()
src/crayon/src/platform/router/router.ts:71
↓ 23 callersMethodnavigate
(path: string)
src/crayon/src/platform/router/router.ts:49
↓ 22 callersMethoduse
(handler: handlerFunc)
src/crayon/src/platform/router/group.ts:15
↓ 21 callersMethodmount
(..._args: any)
src/crayon/src/platform/router/context.ts:36
↓ 20 callersMethodpush
(path: string)
src/crayon/src/platform/history/history.ts:68
↓ 16 callersMethodadd
(path: string, ...handlers: handlerFunc[])
src/crayon/src/platform/route-map/route-map.ts:22
↓ 14 callersFunctionisArray
(value?: any)
src/kit/src/check-type/array.ts:1
↓ 12 callersMethoddestroy
()
src/crayon/src/platform/router/router.ts:27
↓ 12 callersMethodemitEvent
(type: RouterEventType, data?: any)
src/crayon/src/platform/router/router.ts:92
↓ 11 callersFunctionaddClassNames
( el: HTMLElement, classNames: string[] )
src/kit/src/element/element.ts:77
↓ 11 callersMethodfindWithPathname
(pathname: string)
src/crayon/src/platform/route-map/route-map.ts:32
↓ 10 callersFunctionnavigate
(router: Router, path: string)
src/crayon/src/lib/index.spec.ts:8
↓ 10 callersMethodsubscribe
(cb: callback<T>)
src/kit/src/event-stream/beacon.ts:12
↓ 9 callersFunctiondeserializeQuery
(query: string = '')
src/kit/src/url/url.ts:71
↓ 9 callersMethodnext
(value: T)
src/kit/src/event-stream/beacon.ts:20
↓ 9 callersMethodunsubscribe
()
src/kit/src/event-stream/beacon.ts:42
↓ 8 callersMethodredirect
(path: string)
src/crayon/src/platform/router/context.ts:39
↓ 7 callersMethodonLeave
(cb: LeaveAction)
src/crayon/src/platform/router/context.ts:25
↓ 6 callersMethodcalculate
(from: string, to: string)
src/animate/src/state.ts:43
↓ 5 callersMethodfirst
(cb: (value: T) => boolean = () => true)
src/kit/src/event-stream/beacon.ts:26
↓ 5 callersFunctionloadComplete
(router: Router, id?: string)
src/crayon/src/lib/index.spec.ts:7
↓ 5 callersMethodpop
()
src/crayon/src/platform/history/history.ts:77
↓ 5 callersMethodputRoute
(newRoute: AnimationRoute)
src/animate/src/state.ts:18
↓ 5 callersFunctionremoveClassNames
( el: HTMLElement, classNames: string[] )
src/kit/src/element/element.ts:86
↓ 4 callersMethodback
()
src/crayon/src/platform/router/router.ts:60
↓ 4 callersFunctionmiddleware
(req, res)
src/crayon/src/platform/router/group.spec.ts:18
↓ 4 callersFunctionroutes
( routes: AnimationRoute[] )
src/animate/src/routes.ts:5
↓ 4 callersFunctionsetStyles
(element: HTMLElement, styles: CSSProperties)
src/kit/src/element/element.ts:59
↓ 4 callersFunctionwaitForElements
(...e: HTMLElement[])
src/kit/src/element/element.ts:99
↓ 3 callersMethodgetLocation
()
src/crayon/src/platform/locator/locator.ts:10
↓ 3 callersFunctionnormalise
(path?: string, lowerCase: boolean = true)
src/kit/src/url/url.ts:1
↓ 3 callersMethodpush
(instance: any)
src/vue/src/mounter.ts:13
↓ 3 callersMethodshift
()
src/vue/src/mounter.ts:22
↓ 2 callersMethodadd
(subscription: Subscription)
src/kit/src/event-stream/beacon.ts:38
↓ 2 callersMethoddigest
()
src/crayon/src/platform/router/router.ts:121
↓ 2 callersFunctiongetAnimationState
(state: Record<string, any>)
src/animate/src/state.ts:98
↓ 2 callersFunctiongetRouteTargets
( selector: string )
src/crayon/src/platform/mount/get-route-targets.ts:8
↓ 2 callersFunctionhasRouter
()
src/crayon/src/lib/index.spec.ts:175
↓ 2 callersMethodmergeContext
( ctx: Context, routePattern: string, params: Record<string, string>, )
src/crayon/src/platform/locator/locator.ts:14
↓ 2 callersMethodrunOnLeave
()
src/crayon/src/platform/router/context.ts:20
↓ 2 callersFunctionuseAppContext
()
examples/react/typescript-webpack-simple/src/gui/context.ts:10
↓ 2 callersFunctionuseAppContext
()
examples/react/typescript-webpack-animated/src/gui/context.ts:10
↓ 1 callersFunctionContext
(Component: () => h.JSX.Element)
src/preact/src/with-context.ts:7
↓ 1 callersMethodaddEventListener
(event: string, callback: () => void)
src/crayon/__tests__/mocks/window.ts:32
↓ 1 callersMethodaddMiddleware
(...handlers: handlerFunc[])
src/crayon/src/platform/route-map/route-map.ts:26
↓ 1 callersMethodaddRouter
(router: Router)
src/crayon/src/platform/shared-state/shared-state.ts:13
↓ 1 callersFunctionanimatedMount
( states: ClassNameStates, Component: any, mounter: Mounter, name: string, duration: number )
src/crayon/src/platform/mount/mount-animated.ts:14
↓ 1 callersFunctionapply
(Component: any)
src/react/src/with-context.ts:5
↓ 1 callersFunctionclearClassList
( el: HTMLElement )
src/kit/src/element/element.ts:95
↓ 1 callersMethodend
()
src/crayon/src/platform/router/context.ts:29
↓ 1 callersFunctionfirst
( beacon: Beacon<T>, cb: (value: T) => boolean = () => true )
src/kit/src/event-stream/beacon.ts:64
↓ 1 callersFunctiongetSharedState
( _window: Window = window, )
src/crayon/src/platform/shared-state/shared-state.ts:28
↓ 1 callersFunctionhandler
(req, res)
src/crayon/src/platform/router/group.spec.ts:11
↓ 1 callersFunctionhasAnimation
( noAnimation: string, name?: string, duration?: number )
src/crayon/src/platform/mount/has-animation.ts:1
↓ 1 callersFunctionhasTrailingSlash
(path: string)
src/kit/src/url/url.ts:25
↓ 1 callersFunctionisFunction
(value: any)
src/vue/src/mounter.ts:4
↓ 1 callersFunctionmatchPath
( pattern: string, pathname: string )
src/kit/src/url/url.ts:39
↓ 1 callersFunctionnthEvent
( beacon: Beacon<T>, n: number )
src/kit/src/event-stream/beacon.ts:48
↓ 1 callersFunctionofType
(id: string, type: crayon.RouterEventType)
src/crayon/src/lib/index.spec.ts:6
↓ 1 callersMethodonRequestUpdate
( ctx: Context, key: string )
src/crayon/src/platform/router/router.ts:165
↓ 1 callersFunctiononRouterDestroy
( router: Router, sharedState: SharedState, )
src/crayon/src/lib/create.ts:47
↓ 1 callersMethodputRoutes
(routes: AnimationRoute[])
src/animate/src/state.ts:37
↓ 1 callersMethodremoveEventListener
(event: string, callback: () => void)
src/crayon/__tests__/mocks/window.ts:39
↓ 1 callersMethodremoveRouter
(router: Router)
src/crayon/src/platform/shared-state/shared-state.ts:18
↓ 1 callersFunctionremoveTrailingSlash
(path: string)
src/kit/src/url/url.ts:18
↓ 1 callersMethodrenderUsingReactDOM
( Component: () => JSX.Element, target: HTMLElement )
src/react/src/mounter.ts:29
↓ 1 callersFunctionroot
(selector: string)
src/transition/src/body.ts:1
↓ 1 callersFunctionrouter
( target: HTMLElement = document.body, className: string = 'router-view' )
src/react/src/react.ts:4
↓ 1 callersFunctionrouter
( target?: HTMLElement, className?: string )
src/preact/src/preact.ts:4
↓ 1 callersMethodrunHandlers
(handlers: handlerFunc[], ctx: Context)
src/crayon/src/platform/router/router.ts:103
↓ 1 callersFunctionsetEvents
(element: HTMLElement, events: DOMEventMap)
src/kit/src/element/element.ts:68
↓ 1 callersFunctionsetSharedState
( sharedState: SharedState, _window: Window = window, )
src/crayon/src/platform/shared-state/shared-state.ts:37
↓ 1 callersFunctionstaticMount
( states: ClassNameStates, incoming: any, mounter: Mounter, name: string, )
src/crayon/src/platform/mount/mount-static.ts:6
↓ 1 callersMethodunmount
()
src/preact/src/mounter.ts:11
↓ 1 callersMethodunmount
(..._args: any)
src/crayon/src/platform/router/context.ts:33
↓ 1 callersMethoduseGroup
(group: Group)
src/crayon/src/platform/router/router.ts:81
FunctionEmbeddedRouter
({ children = () => {}, name = genString.ofLength(5), className = '', }: EmbeddedRouterProps)
src/react/src/embedded-router.ts:12
FunctionEmbeddedRouter
({ children = () => {}, name = genString.ofLength(5), className = '', }: EmbeddedRouterProps)
src/preact/src/embedded-router.ts:13
FunctionMore
()
examples/react/typescript-webpack-simple/src/gui/pages/more.tsx:4
FunctionMore
()
examples/react/typescript-webpack-animated/src/gui/pages/more.tsx:4
FunctionRoute
()
examples/react/typescript-webpack-simple/src/gui/pages/route.tsx:4
FunctionRoute
()
examples/react/typescript-webpack-animated/src/gui/pages/route.tsx:4
Functionaction
()
src/crayon/src/platform/router/context.spec.ts:5
FunctionauthMiddleware
src/crayon/src/lib/index.spec.ts:37
Methodconstructor
( public target: HTMLElement, public className: string )
src/react/src/state.ts:6
Methodconstructor
( public target: HTMLElement, public selector: string, )
src/react/src/mounter.ts:7
Methodconstructor
( public name = 'no-animation', public duration = 0, public overrideDuration = false,
src/animate/src/state.ts:7
Methodconstructor
( from: string = '', to: string = '' )
src/animate/src/mocks/mocks.ts:10
Methodconstructor
( public routePattern: string = '' )
src/animate/src/mocks/mocks.ts:20
Methodconstructor
( public target = document.body, public selector = 'router-view' )
src/preact/src/mounter.ts:6
Methodconstructor
( public base: string = 'crayon' )
src/crayon/src/platform/mount/make-class-names.ts:10
Methodconstructor
( private window: Window = window )
src/crayon/src/platform/locator/locator.ts:6
Methodconstructor
( public id: string, public location: Location, public routeMap: RouteMap, public history: His
src/crayon/src/platform/router/router.ts:17
Methodconstructor
( public base: string )
src/crayon/src/platform/router/group.ts:7
Methodconstructor
( public history: History, )
src/crayon/src/platform/shared-state/shared-state.ts:9
Methodconstructor
( private window: Window = window, )
src/crayon/src/platform/history/history.ts:56
Methodconstructor
( path: string = '' )
src/crayon/__tests__/mocks/window.ts:43
Methodconstructor
( public target = document.body, public selector = 'router-view', public instances: an
src/svelte/src/mounter.ts:5
Methodconstructor
( public target = document.body, public selector = 'router-view', public instances: an
src/vue/src/mounter.ts:7
next →1–100 of 141, ranked by callers