Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/add2cal/add-to-calendar-button
/ functions
Functions
860 in github.com/add2cal/add-to-calendar-button
⨍
Functions
860
◇
Types & classes
640
↓ 87 callers
Method
replace
(content: string | ReadableStream | Response, options?: ContentOptions)
demo/worker-configuration.d.ts:1624
↓ 46 callers
Function
mountAtcb
(config = {})
test/helpers/mount.js:21
↓ 44 callers
Method
get
(key: string, options: R2GetOptions & { onlyIf: R2Conditional | Headers; })
demo/worker-configuration.d.ts:2062
↓ 41 callers
Method
setAttribute
(name: string, value: string)
demo/worker-configuration.d.ts:1592
↓ 37 callers
Method
remove
()
demo/worker-configuration.d.ts:1625
↓ 32 callers
Function
clickSingleton
(host)
test/helpers/dom.js:76
↓ 31 callers
Method
getAttribute
(name: string)
demo/worker-configuration.d.ts:1590
↓ 26 callers
Method
append
(content: string | ReadableStream | Response, options?: ContentOptions)
demo/worker-configuration.d.ts:1597
↓ 22 callers
Method
log
* The **`console.log()`** static method outputs a message to the console. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/con
demo/worker-configuration.d.ts:194
↓ 22 callers
Function
translate_hook
(identifier: string, data: ATCBConfig)
src/i18n/index.ts:230
↓ 21 callers
Function
interceptWindowOpen
()
test/helpers/capture.js:15
↓ 21 callers
Function
parseIcs
(raw)
test/helpers/ics.js:35
↓ 20 callers
Function
baseEvent
(overrides = {})
test/helpers/mount.js:50
↓ 20 callers
Function
interceptFileSave
()
test/helpers/capture.js:35
↓ 19 callers
Function
openList
(host)
test/helpers/dom.js:49
↓ 18 callers
Function
decodeIcsHref
(href)
test/helpers/ics.js:9
↓ 17 callers
Method
toString
()
demo/worker-configuration.d.ts:539
↓ 15 callers
Method
error
* The **`console.error()`** static method outputs a message to the console at the "error" log level. The message is only displayed to the user if the
demo/worker-configuration.d.ts:164
↓ 14 callers
Function
decorate_data
(data: ATCBConfig | ATCBInputConfig)
src/core/decorate.ts:12
↓ 14 callers
Function
modalHost
(host)
test/helpers/dom.js:86
↓ 14 callers
Method
set
* Set a new stored value
demo/worker-configuration.d.ts:13528
↓ 12 callers
Function
btnId
(host)
test/helpers/dom.js:19
↓ 12 callers
Function
log_event
(event: string, trigger: string, identifier: string)
src/core/events.ts:5
↓ 12 callers
Function
r
(...p)
scripts/build.mjs:31
↓ 12 callers
Function
secure_content
(data: unknown, isJSON = true)
src/core/text.ts:42
↓ 12 callers
Function
secure_url
(url: string, throwError = true)
src/core/text.ts:82
↓ 10 callers
Function
proEvtConfig
(overrides = {})
test/fixtures/pro.js:15
↓ 10 callers
Function
toggle
(host: ShadowRoot, action: string, data: ATCBConfig | string = '', button: HTMLElement | string | null = null,
src/ui/control.ts:9
↓ 10 callers
Function
validate
(data: ATCBConfig)
src/core/validate.ts:57
↓ 9 callers
Function
generate_ical
(host: ShadowRoot | null, data: ATCBConfig, type: string, subEvent: 'all' | number | string = 'all', keyboardT
src/generators/ical.ts:96
↓ 9 callers
Method
hasAttribute
(name: string)
demo/worker-configuration.d.ts:1591
↓ 9 callers
Function
open_cal_url
(data: ATCBConfig, type: string, url = '', subscribe = false, subEvent: 'all' | number | string | null = null,
src/generators/ical.ts:30
↓ 9 callers
Method
whenInitialized
()
src/element/index.ts:248
↓ 8 callers
Function
generate_time
(data: ATCBConfig | ATCBDateEntry, style = 'delimiters', targetCal = 'general', addTimeZoneOffset = false)
src/core/dates.ts:6
↓ 8 callers
Function
getActiveButton
()
src/core/store.ts:24
↓ 8 callers
Function
muteConsole
(methods = ['error', 'warn'])
test/helpers/capture.js:103
↓ 8 callers
Function
optionEl
(host, type)
test/helpers/dom.js:37
↓ 8 callers
Function
renderedOptions
(host)
test/helpers/dom.js:41
↓ 8 callers
Function
resolve
(source: unknown, path: string)
demo/src/utils/playground/i18n.ts:17
↓ 8 callers
Function
strip_unsafe_keys
(node: unknown)
src/core/text.ts:66
↓ 8 callers
Function
trigger
(host)
test/helpers/dom.js:33
↓ 7 callers
Function
create_modal
( mainHost: ShadowRoot, data: ATCBConfig, icon: string = '', headline?: string, content: string = ''
src/ui/generate.ts:369
↓ 7 callers
Function
escape_html
(value: string)
src/core/text.ts:12
↓ 7 callers
Method
json
()
demo/worker-configuration.d.ts:2107
↓ 7 callers
Method
prepend
(content: string | ReadableStream | Response, options?: ContentOptions)
demo/worker-configuration.d.ts:1596
↓ 7 callers
Function
proRsvpConfig
(overrides = {})
test/fixtures/pro.js:48
↓ 7 callers
Function
resetDataLayer
()
test/helpers/datalayer.js:7
↓ 7 callers
Method
warn
* The **`console.warn()`** static method outputs a warning message to the console at the "warning" log level. The message is only displayed to the use
demo/worker-configuration.d.ts:232
↓ 6 callers
Function
atcb_action
(inputData: ATCBInputConfig, triggerElement?: HTMLElement, keyboardTrigger = false)
src/action/index.ts:22
↓ 6 callers
Function
clickOption
(host, type)
test/helpers/dom.js:62
↓ 6 callers
Method
delete
(keys: string | string[])
demo/worker-configuration.d.ts:2072
↓ 6 callers
Function
dlEvents
(eventName = null)
test/helpers/datalayer.js:18
↓ 6 callers
Function
isBrowser
()
src/core/globals.ts:22
↓ 6 callers
Function
listEl
(host)
test/helpers/dom.js:55
↓ 6 callers
Function
mockProFetch
(map = {}, { status = 200, networkError = false } = {})
test/fixtures/pro.js:88
↓ 6 callers
Method
removeAttribute
(name: string)
demo/worker-configuration.d.ts:1593
↓ 6 callers
Function
safe_html
(content: string)
src/core/text.ts:18
↓ 5 callers
Function
checkpointSpeech
(reader: ScreenReaderPlaywright)
test/screen-reader/helpers.ts:94
↓ 5 callers
Method
close
()
demo/worker-configuration.d.ts:3340
↓ 5 callers
Function
ensure_locale
* Makes sure the translation pack for the configured language is available before * rendering (labels are needed synchronously at template time). Unk
src/i18n/index.ts:174
↓ 5 callers
Function
fetch_with_context
* Adds request context to browser fetch rejections (for example CSP failures), * whose native error messages usually contain no URL.
src/core/fetch.ts:5
↓ 5 callers
Function
generate_modal_host
(host: ShadowRoot, data: ATCBConfig, reset: boolean = true)
src/ui/generate.ts:635
↓ 5 callers
Function
generate_rsvp_form
(host: ShadowRoot, data: ATCBConfig, hostEl: HTMLElement, keyboardTrigger: boolean = false)
src/ui/pro.ts:277
↓ 5 callers
Function
getProp
(obj: unknown, key: string | number)
demo/src/utils/i18n.ts:39
↓ 5 callers
Function
initFailed
(host)
test/helpers/dom.js:29
↓ 5 callers
Function
isMobile
()
src/core/globals.ts:79
↓ 5 callers
Function
map_special_time_zones
(timeZone: string)
src/core/dates.ts:849
↓ 5 callers
Function
pressEsc
()
test/helpers/dom.js:96
↓ 5 callers
Function
rewrite_html_elements
(content: string, clear = false, iCalBreaks = false, preserveEntities = false)
src/core/text.ts:115
↓ 5 callers
Function
set_light_mode
(shadowRoot: ShadowRoot, data: ATCBConfig)
src/element/index.ts:716
↓ 5 callers
Function
set_sizes
(el: HTMLElement, sizes: { [key: string]: number | string })
src/ui/positioning.ts:113
↓ 5 callers
Method
values
(options?: ReadableStreamValuesOptions)
demo/worker-configuration.d.ts:2309
↓ 4 callers
Function
append_text
(parent: Element, tag: string, value: string, part?: string)
src/ui/group-overview.ts:212
↓ 4 callers
Function
assert_no_script
(data: unknown)
src/core/text.ts:28
↓ 4 callers
Function
check_required
(data: ATCBInputConfig)
src/core/validate.ts:8
↓ 4 callers
Function
close
(host: ShadowRoot, keyboardTrigger: boolean = false)
src/ui/control.ts:127
↓ 4 callers
Function
create_atcbl
(host: ShadowRoot, atList: boolean = true, returnEl: boolean = false, licenseNoteOnly: boolean = false)
src/ui/generate.ts:327
↓ 4 callers
Function
debounce_leading
(this: void, func: (...args: A) => unknown, timeout = 300)
src/core/util.ts:143
↓ 4 callers
Function
ensure_style
* Resolves the full css (core + style delta) for the configured buttonStyle. * Returns null when nothing should be injected (style none, unstyle buil
src/styles/css-template.ts:106
↓ 4 callers
Function
escape_html_text
(value: string)
src/core/text.ts:6
↓ 4 callers
Function
formatYmd
(year: number, month: number, day: number)
src/core/dates.ts:253
↓ 4 callers
Function
generate_links
(host: ShadowRoot, type: string, data: ATCBConfig, subEvent: 'all' | number | string = 'all', keyboardTrigger
src/generators/index.ts:15
↓ 4 callers
Function
getOccurrencesInRange
(rruleStr: string, startDate: string, startTime: string, tzid: string, from: string, to: string)
src/core/dates.ts:792
↓ 4 callers
Function
getOptionStates
(id: string)
src/core/store.ts:40
↓ 4 callers
Function
officialAttributeName
* The official kebab-case attribute name for a config param.
src/compat/attributes.ts:22
↓ 4 callers
Function
prepare_ics_link
(host: ShadowRoot, data: ATCBConfig, control: HTMLElement, type: string, subEvent: 'all' | number = 'all', con
src/ui/ics-links.ts:78
↓ 4 callers
Function
read_attributes
(el: ATCBHostElement, params: (keyof ATCBInputConfig)[] = wcParams)
src/element/index.ts:628
↓ 4 callers
Function
remove_client_group_overview_skeleton
(loading: ClientGroupOverviewSkeleton | null)
src/element/index.ts:65
↓ 4 callers
Function
ruleInterval
(rule: ATCBRRuleParts)
src/core/dates.ts:414
↓ 4 callers
Function
static_ics_file
(host: ShadowRoot | null, data: ATCBConfig, subEvent: 'all' | number)
src/generators/ical.ts:67
↓ 4 callers
Function
subEventBtn
(host, type, n)
test/helpers/dom.js:90
↓ 4 callers
Function
visit
(object: Record<string, unknown>)
demo/src/utils/playground/attrs.ts:63
↓ 4 callers
Function
zonedDateTime
(date: string, time: string, timeZone: string)
src/core/dates.ts:267
↓ 3 callers
Method
abort
(reason?: any)
demo/worker-configuration.d.ts:462
↓ 3 callers
Function
abortError
(signal: AbortSignal)
src/core/dates.ts:766
↓ 3 callers
Function
create_client_group_overview_skeleton
(host: ShadowRoot)
src/element/index.ts:42
↓ 3 callers
Function
csp_nonce
(host: ShadowRoot)
src/element/index.ts:741
↓ 3 callers
Function
dateButtonMeta
(data: ATCBConfig, subEventIn: string | number = 'all', forceFullDate: boolean = false)
src/ui/templates.ts:159
↓ 3 callers
Function
debounce
(this: void, func: (...args: A) => unknown, timeout = 200)
src/core/util.ts:133
↓ 3 callers
Function
expectSpeech
(reader: ScreenReaderPlaywright, expected: RegExp, forbidden?: RegExp)
test/screen-reader/helpers.ts:107
next →
1–100 of 860, ranked by callers