MCPcopy
hub / github.com/tailwindlabs/tailwindcss / suggest

Method suggest

packages/tailwindcss/src/variants.ts:196–198  ·  packages/tailwindcss/src/variants.ts::Variants.suggest
(name: string, suggestions: () => string[])

Source from the content-addressed store, hash-verified

194 }
195
196 suggest(name: string, suggestions: () => string[]) {
197 this.completions.set(name, suggestions)
198 }
199
200 getCompletions(name: string) {
201 return this.completions.get(name)?.() ?? []

Callers 4

createVariantsFunction · 0.95
matchVariantFunction · 0.45
matchUtilitiesFunction · 0.45
registerLegacyUtilitiesFunction · 0.45

Calls 1

setMethod · 0.80

Tested by

no test coverage detected