observeSheet() — tailwindcss Function Reference
Architecture documentation for the observeSheet() function in index.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD d8f7a31c_f0ac_20b5_6bc3_5d81e71e9639["observeSheet()"] d3ff87a1_ef49_dab7_2e4d_39270282fbd2["index.ts"] d8f7a31c_f0ac_20b5_6bc3_5d81e71e9639 -->|defined in| d3ff87a1_ef49_dab7_2e4d_39270282fbd2 a25ad0ad_f7bc_1221_9e16_64c09e9b41a8["createCompiler()"] a25ad0ad_f7bc_1221_9e16_64c09e9b41a8 -->|calls| d8f7a31c_f0ac_20b5_6bc3_5d81e71e9639 style d8f7a31c_f0ac_20b5_6bc3_5d81e71e9639 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/@tailwindcss-browser/src/index.ts lines 235–243
function observeSheet(sheet: HTMLStyleElement) {
styleObserver.observe(sheet, {
attributes: true,
attributeFilter: ['type'],
characterData: true,
subtree: true,
childList: true,
})
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does observeSheet() do?
observeSheet() is a function in the tailwindcss codebase, defined in packages/@tailwindcss-browser/src/index.ts.
Where is observeSheet() defined?
observeSheet() is defined in packages/@tailwindcss-browser/src/index.ts at line 235.
What calls observeSheet()?
observeSheet() is called by 1 function(s): createCompiler.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free