show.ts — vue Source File
Architecture documentation for show.ts, a typescript file in the vue codebase. 1 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 02379b0d_181b_b88c_505f_95568233aee4["show.ts"] 81ed4f13_7d68_6e21_7425_cf978f68576f["vnode"] 02379b0d_181b_b88c_505f_95568233aee4 --> 81ed4f13_7d68_6e21_7425_cf978f68576f 083fac44_960c_224b_9690_d2743ae34b45["index.ts"] 083fac44_960c_224b_9690_d2743ae34b45 --> 02379b0d_181b_b88c_505f_95568233aee4 style 02379b0d_181b_b88c_505f_95568233aee4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import type { VNodeDirective, VNodeWithData } from 'types/vnode'
export default function show(node: VNodeWithData, dir: VNodeDirective) {
if (!dir.value) {
const style: any = node.data.style || (node.data.style = {})
if (Array.isArray(style)) {
style.push({ display: 'none' })
} else {
style.display = 'none'
}
}
}
Domain
Subdomains
Functions
Dependencies
- vnode
Imported By
Source
Frequently Asked Questions
What does show.ts do?
show.ts is a source file in the vue codebase, written in typescript. It belongs to the ServerRenderer domain, TemplateRenderer subdomain.
What functions are defined in show.ts?
show.ts defines 1 function(s): show.
What does show.ts depend on?
show.ts imports 1 module(s): vnode.
What files import show.ts?
show.ts is imported by 1 file(s): index.ts.
Where is show.ts in the architecture?
show.ts is located at packages/server-renderer/src/directives/show.ts (domain: ServerRenderer, subdomain: TemplateRenderer, directory: packages/server-renderer/src/directives).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free