MCPcopy Create free account

hub / github.com/objectivehtml/FlipClock / functions

Functions214 in github.com/objectivehtml/FlipClock

↓ 50 callersMethodfaceValue
* The face's value to display. When this value changes, or a new * `FaceValue` instance has been returned, the clock will automatically * re
docs/types/Face.interface.ts:9
↓ 48 callersFunctionformat
* Formats a date using a format string. * * @public
src/helpers/date.ts:187
↓ 47 callersFunctionfaceValue
(value: T, props?: FaceValueProps)
src/FaceValue.ts:138
↓ 44 callersFunctionmatchArrayStructure
(current: DigitizedValues, target: DigitizedValues, options?: MatchArrayStructureOptions | MatchArrayStructure
src/helpers/structure.ts:27
↓ 36 callersFunctionnextTick
(instance: FlipClock<any>)
test/index.tsx:8
↓ 34 callersFunctionflipClock
(props: FlipClockProps<T>)
src/FlipClock.ts:280
↓ 33 callersFunctiontheme
(options?: FlipClockThemeOptions<T>)
src/themes/flipclock/index.tsx:46
↓ 22 callersFunctionnext
* Get the next character in the charset relative to the given value.
src/helpers/charset.ts:209
↓ 21 callersFunctionchunk
* Get the next chunks of characters relative to another character.
src/helpers/charset.ts:180
↓ 21 callersFunctiondecrement
* Decrement the current face towards the target value. The count determines * how many digits are skipped. If the array structures differ, they w
src/helpers/sequencer.ts:78
↓ 21 callersFunctionincrement
* Increment the current face towards the target value. The count determines * how many digits are skipped. If the array structures differ, they w
src/helpers/sequencer.ts:116
↓ 18 callersFunctionprev
* Get the prev character in the charset relative to the given value.
src/helpers/charset.ts:247
↓ 16 callersFunctiondigitize
* Parse a string, number or an array into `DigitizedValues`. * * @public
src/helpers/digitizer.ts:46
↓ 15 callersFunctionpad
(value: string | number | undefined, length: number)
src/helpers/date.ts:225
↓ 15 callersFunctiontranslate
(key: string, fallback?: T)
src/helpers/dictionary.ts:98
↓ 14 callersFunctiondefine
(key: string | [string, T][] | Record<string, T>, value?: T)
src/helpers/dictionary.ts:33
↓ 14 callersFunctionuseCharset
(options?: UseCharsetOptions)
src/helpers/charset.ts:140
↓ 12 callersMethodformat
(sources)
src/helpers/parser.js:15
↓ 12 callersFunctionunset
(keys: string | string[])
src/helpers/dictionary.ts:49
↓ 11 callersFunctionclock
(props?: ClockProps)
src/faces/Clock.ts:118
↓ 11 callersMethodhook
* Dispatch the event and call the method that corresponds to given hook. * * @protected
src/FlipClock.ts:258
↓ 9 callersFunctioncounter
(props?: CounterProps)
src/faces/Counter.ts:206
↓ 9 callersFunctionparseDuration
(duration: string | null | undefined)
src/helpers/functions.ts:1
↓ 9 callersFunctionwalker
()
test/helpers/structure.test.ts:87
↓ 8 callersFunctionalphanumeric
(props: AlphanumericProps)
src/faces/Alphanumeric.ts:205
↓ 8 callersMethodcompare
* Compare the face value with the given subject. * * @public
src/FaceValue.ts:113
↓ 8 callersMethodincrement
* Add to the face value by the given value. * * @public
src/faces/Counter.ts:195
↓ 7 callersFunctionisDigitized
* Check if the value is the type `DigitizedValues`. * * @public
src/helpers/digitizer.ts:79
↓ 7 callersFunctionpeg$fail
(expected)
src/helpers/parser.js:291
↓ 7 callersFunctionuseSequencer
(options?: SequencerOptions)
src/helpers/sequencer.ts:64
↓ 6 callersFunctioncastDigitizedString
(value?: DigitizedValue | DigitizedValues)
src/helpers/structure.ts:149
↓ 6 callersFunctioncharacterRange
(startChar: string, endChar: string)
src/helpers/charset.ts:17
↓ 6 callersMethodemit
* Emit an event. * * @public
src/EventEmitter.ts:37
↓ 6 callersMethodon
* Listen for an event. This returns a function to unwatch the event. * * @public
src/EventEmitter.ts:52
↓ 6 callersFunctionuseCss
( fn: UseCssDeclaration<T, V> )
src/helpers/css.ts:79
↓ 6 callersFunctionuseDateFormats
(options?: UseDateFormatsOptions)
src/helpers/date.ts:148
↓ 5 callersFunctioncastDigitizedGroup
(value?: DigitizedValue | DigitizedValues)
src/helpers/structure.ts:183
↓ 5 callersFunctioncastDigitizedValues
(value?: DigitizedValue | DigitizedValues)
src/helpers/structure.ts:162
↓ 5 callersMethodcopy
* Create a new instance with the given value. * * @public
src/FaceValue.ts:122
↓ 5 callersFunctionelapsedTime
(props?: ElapsedTimeProps)
src/faces/ElapsedTime.ts:199
↓ 5 callersFunctionrange
(startAt: number = 0, size: number)
src/helpers/charset.ts:8
↓ 5 callersMethodstop
* Stops the timer. * * @public
src/Timer.ts:180
↓ 5 callersFunctionuseDictionary
(terms: [string, T | Translator<T>][] | Record<string, T | Translator<T>>)
src/helpers/dictionary.ts:91
↓ 4 callersFunctioncount
(values: DigitizedValues)
src/helpers/structure.ts:224
↓ 4 callersMethoddecrement
* Substract the face value by the given value. * * @public
src/faces/Counter.ts:186
↓ 4 callersFunctiongetFilteredDuration
( start: Date | number, end: Date | number, keys: T[] )
src/helpers/duration.ts:43
↓ 4 callersFunctionisDigitizedGroup
(value: DigitizedValues | DigitizedValue | undefined)
src/helpers/structure.ts:205
↓ 4 callersMethodmount
* Mount the clock instance to the DOM. * * @public
src/FlipClock.ts:154
↓ 4 callersFunctionstopAfterChanges
(totalChanges: number, fn: Callback<P, R>)
src/helpers/structure.ts:346
↓ 4 callersMethodtoggle
* Toggle starting/stopping the clock instance. * * @public
src/FlipClock.ts:224
↓ 4 callersFunctionuseDefinitionMap
(items: [string, T][] | Record<string,T>)
src/helpers/dictionary.ts:27
↓ 4 callersFunctionuseDigitizer
()
src/helpers/digitizer.ts:40
↓ 3 callersFunctionisBlacklisted
* Clean the array of undesired values.
src/helpers/charset.ts:286
↓ 3 callersFunctionisPlainObject
(value: unknown)
src/helpers/css.ts:13
↓ 3 callersFunctionisWhitelisted
* Clean the array of undesired values.
src/helpers/charset.ts:293
↓ 3 callersFunctionstopWhen
(predicate: StopPredicateFunction<P>, fn: Callback<P, R>)
src/helpers/structure.ts:331
↓ 3 callersFunctionuseDurationFormats
()
src/helpers/duration.ts:79
↓ 2 callersMethodafterCreate
* The `afterCreate` hook. * * @public
docs/types/FaceHooks.interface.ts:7
↓ 2 callersMethodafterInterval
* The `afterInterval` hook. * * @public
docs/types/FaceHooks.interface.ts:43
↓ 2 callersMethodafterMount
* The `afterMount` hook. * * @public
docs/types/FaceHooks.interface.ts:19
↓ 2 callersMethodafterStart
* The `afterStart` hook. * * @public
docs/types/FaceHooks.interface.ts:55
↓ 2 callersMethodafterStop
* The `afterStop` hook. * * @public
docs/types/FaceHooks.interface.ts:67
↓ 2 callersMethodafterUnmount
* The `afterUnmount` hook. * * @public
docs/types/FaceHooks.interface.ts:31
↓ 2 callersMethodbeforeInterval
* The `beforeInterval` hook. * * @public
docs/types/FaceHooks.interface.ts:37
↓ 2 callersMethodbeforeMount
* The `beforeMount` hook. * * @public
docs/types/FaceHooks.interface.ts:13
↓ 2 callersMethodbeforeStart
* The `beforeStart` hook. * * @public
docs/types/FaceHooks.interface.ts:49
↓ 2 callersMethodbeforeStop
* The `beforeStop` hook. * * @public
docs/types/FaceHooks.interface.ts:61
↓ 2 callersMethodbeforeUnmount
* The `beforeUnmount` hook. * * @public
docs/types/FaceHooks.interface.ts:25
↓ 2 callersFunctioncreateHookMocks
()
test/index.tsx:15
↓ 2 callersFunctiongetAnimationRate
(el: Element)
src/helpers/functions.ts:18
↓ 2 callersFunctiongetTwelveHourFormat
(date: Date)
src/helpers/date.ts:246
↓ 2 callersFunctionmergeCss
( source: TSource, target: TTarget )
src/helpers/css.ts:22
↓ 2 callersFunctionnearest
* Find the nearest character in the charset to the given value.
src/helpers/charset.ts:166
↓ 2 callersFunctionpeg$computeLocation
(startPos, endPos, offset)
src/helpers/parser.js:267
↓ 2 callersFunctionpeg$computePosDetails
(pos)
src/helpers/parser.js:230
↓ 2 callersFunctionpeg$f0
(value)
src/helpers/parser.js:177
↓ 2 callersFunctionpeg$f1
(value)
src/helpers/parser.js:178
↓ 2 callersFunctionpeg$literalExpectation
(text, ignoreCase)
src/helpers/parser.js:214
↓ 2 callersFunctionpeg$parsechar
()
src/helpers/parser.js:423
↓ 2 callersFunctionpeg$parsestring
()
src/helpers/parser.js:400
↓ 2 callersFunctionrecurse
(current: DigitizedValues | DigitizedValue | undefined, target: DigitizedValues | DigitizedValue)
src/helpers/structure.ts:39
↓ 2 callersMethodreset
* Resets the timer. If a callback is provided, re-start the clock. * * @public
src/Timer.ts:138
↓ 2 callersMethodstart
* Starts the timer. * * @public
src/Timer.ts:153
↓ 2 callersMethodstart
* Start the clock instance. * * @public
src/FlipClock.ts:178
↓ 2 callersMethodstop
* Stop the clock instance. * * @public
src/FlipClock.ts:205
↓ 2 callersFunctiontimer
(interval: number = 1000)
src/Timer.ts:201
↓ 2 callersFunctiontrackChanges
(fn: TrackChangesCallback<P, R>)
src/helpers/structure.ts:283
↓ 2 callersMethodunmount
* Unmount the clock instance from the DOM. * * @public
src/FlipClock.ts:240
↓ 1 callersFunctionapply
(...args: T)
src/helpers/css.ts:84
↓ 1 callersMethodbuildMessage
(expected, found)
src/helpers/parser.js:46
↓ 1 callersFunctioncreateCharset
* Creates a charset and shuffles it if required.
src/helpers/charset.ts:152
↓ 1 callersFunctioncreateSimpleTheme
()
test/index.tsx:93
↓ 1 callersFunctiondefaultCharset
()
src/helpers/charset.ts:49
↓ 1 callersFunctioneventEmitter
()
src/EventEmitter.ts:105
↓ 1 callersFunctionextractTypes
()
bin/extractTypes.ts:39
↓ 1 callersFunctiongroupBy
(array: T, key: string)
bin/extractTypes.ts:28
↓ 1 callersMethodinterval
* This method is called with every timer interval. Use this to increment, * decrement or value change the `faceValue()`. * * @public
docs/types/Face.interface.ts:16
↓ 1 callersFunctionisDivider
(value: DigitizedValue, dividers?: FlipClockThemeOptions['dividers'])
src/themes/flipclock/index.tsx:93
↓ 1 callersMethodoff
(key: K, fn?: T[K])
src/EventEmitter.ts:87
↓ 1 callersMethodonce
* Listen for an event once. * * @public
src/EventEmitter.ts:71
next →1–100 of 214, ranked by callers