profectus-docs/api/components/ContextComponent.html

29 lines
No EOL
35 KiB
HTML

<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Component: Context | Profectus</title>
<meta name="description" content="A game engine that grows with you.">
<link rel="stylesheet" href="/assets/style.148fff69.css">
<link rel="modulepreload" href="/assets/app.7cfe4cf0.js">
<link rel="modulepreload" href="/assets/api_components_ContextComponent.md.3af2bb40.lean.js">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,400;0,600;1,400">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<script defer="true" data-domain="moddingtree.com" src="https://plausible.io/js/plausible.js"></script>
<meta name="og:description" content="A game engine that grows with you">
<meta name="og:image" content="/Logo.png">
<meta name="twitter:title" content="Component: Context | Profectus">
<meta property="og:title" content="Component: Context | Profectus">
</head>
<body>
<div id="app"><!--[--><div class="theme"><header class="nav-bar" data-v-675d8756><div class="sidebar-button" data-v-675d8756><svg class="icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z" class></path></svg></div><a class="nav-bar-title" href="/" aria-label="Profectus, back to home" data-v-675d8756 data-v-cc01ef16><!----> Profectus</a><div class="flex-grow" data-v-675d8756></div><div class="nav" data-v-675d8756><nav class="nav-links" data-v-675d8756 data-v-eab3edfe><!--[--><div class="item" data-v-eab3edfe><div class="nav-link" data-v-eab3edfe data-v-b8818f8c><a class="item" href="/guide/" data-v-b8818f8c>Guide <!----></a></div></div><div class="item" data-v-eab3edfe><div class="nav-link" data-v-eab3edfe data-v-b8818f8c><a class="item active" href="/api/" data-v-b8818f8c>API <!----></a></div></div><div class="item" data-v-eab3edfe><div class="nav-link" data-v-eab3edfe data-v-b8818f8c><a class="item isExternal" href="https://forums.moddingtree.com" target="_blank" rel="noopener noreferrer" data-v-b8818f8c>Forums <svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-b8818f8c><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div><div class="item" data-v-eab3edfe><div class="nav-link" data-v-eab3edfe data-v-b8818f8c><a class="item isExternal" href="https://discord.gg/F3xveHV" target="_blank" rel="noopener noreferrer" data-v-b8818f8c>Discord <svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-b8818f8c><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div><div class="item" data-v-eab3edfe><div class="nav-link" data-v-eab3edfe data-v-b8818f8c><a class="item isExternal" href="https://github.com/profectus-engine/Profectus" target="_blank" rel="noopener noreferrer" data-v-b8818f8c>Github <svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-b8818f8c><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div><!--]--><!----><div class="item" data-v-eab3edfe><div class="nav-link" data-v-eab3edfe data-v-b8818f8c><a class="item isExternal" href="https://github.com/profectus-engine/profectus-docs" target="_blank" rel="noopener noreferrer" data-v-b8818f8c>GitHub <svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-b8818f8c><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div></nav></div><!--[--><!--]--></header><aside class="sidebar" data-v-83e92a68><nav class="nav-links nav" data-v-83e92a68 data-v-eab3edfe><!--[--><div class="item" data-v-eab3edfe><div class="nav-link" data-v-eab3edfe data-v-b8818f8c><a class="item" href="/guide/" data-v-b8818f8c>Guide <!----></a></div></div><div class="item" data-v-eab3edfe><div class="nav-link" data-v-eab3edfe data-v-b8818f8c><a class="item active" href="/api/" data-v-b8818f8c>API <!----></a></div></div><div class="item" data-v-eab3edfe><div class="nav-link" data-v-eab3edfe data-v-b8818f8c><a class="item isExternal" href="https://forums.moddingtree.com" target="_blank" rel="noopener noreferrer" data-v-b8818f8c>Forums <svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-b8818f8c><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div><div class="item" data-v-eab3edfe><div class="nav-link" data-v-eab3edfe data-v-b8818f8c><a class="item isExternal" href="https://discord.gg/F3xveHV" target="_blank" rel="noopener noreferrer" data-v-b8818f8c>Discord <svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-b8818f8c><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div><div class="item" data-v-eab3edfe><div class="nav-link" data-v-eab3edfe data-v-b8818f8c><a class="item isExternal" href="https://github.com/profectus-engine/Profectus" target="_blank" rel="noopener noreferrer" data-v-b8818f8c>Github <svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-b8818f8c><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div><!--]--><!----><div class="item" data-v-eab3edfe><div class="nav-link" data-v-eab3edfe data-v-b8818f8c><a class="item isExternal" href="https://github.com/profectus-engine/profectus-docs" target="_blank" rel="noopener noreferrer" data-v-b8818f8c>GitHub <svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-b8818f8c><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div></nav><!--[--><!--]--><ul class="sidebar-links" data-v-83e92a68><!--[--><li class="sidebar-link"><p class="sidebar-link-item">Components</p><ul class="sidebar-links"><li class="sidebar-link"><p class="sidebar-link-item">Fields</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/api/components/fields/DangerButtonComponent.html"> Danger Button Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/components/fields/FeedbackButtonComponent.html"> Feedback Button Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/components/fields/SelectComponent.html"> Select Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/components/fields/SliderComponent.html"> Slider Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/components/fields/TextComponent.html"> Text Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/components/fields/ToggleComponent.html"> Toggle Component</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">Layout</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/api/components/layout/CollapsibleComponent.html"> Collapsible Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/components/layout/ColumnComponent.html"> Column Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/components/layout/RowComponent.html"> Row Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/components/layout/SpacerComponent.html"> Spacer Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/components/layout/StickyComponent.html"> Sticky Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/components/layout/VerticalRuleComponent.html"> Vertical Rule Component</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">Math</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/api/components/math/FloorComponent.html"> Floor Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/components/math/SqrtComponent.html"> Sqrt Component</a><!----></li></ul></li><li class="sidebar-link"><a class="sidebar-link-item active" href="/api/components/ContextComponent.html"> Context Component</a><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="#events">Events</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="#slots">Slots</a><!----></li></ul></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/components/InfoComponent.html"> Info Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/components/LayerComponent.html"> Layer Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/components/MarkNodeComponent.html"> Mark Node Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/components/ModalComponent.html"> Modal Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/components/NodeComponent.html"> Node Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/components/SaveComponent.html"> Save Component</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">Data</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/data/common.html">Common</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/data/projEntry.html">Proj Entry</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/data/themes.html">Themes</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">Features</p><ul class="sidebar-links"><li class="sidebar-link"><p class="sidebar-link-item">Achievements</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/api/features/achievements/AchievementComponent.html"> Achievement Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/features/achievements/achievement.html">Achievement</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">Bars</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/api/features/bars/BarComponent.html"> Bar Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/features/bars/bar.html">Bar</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">Boards</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/api/features/boards/BoardComponent.html"> Board Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/features/boards/BoardLinkComponent.html"> Board Link Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/features/boards/BoardNodeComponent.html"> Board Node Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/features/boards/board.html">Board</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">Challenges</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/api/features/challenges/ChallengeComponent.html"> Challenge Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/features/challenges/challenge.html">Challenge</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">Clickables</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/api/features/clickables/ClickableComponent.html"> Clickable Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/features/clickables/clickable.html">Clickable</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">Grids</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/api/features/grids/GridCellComponent.html"> Grid Cell Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/features/grids/GridComponent.html"> Grid Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/features/grids/grid.html">Grid</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">Infoboxes</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/api/features/infoboxes/InfoboxComponent.html"> Infobox Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/features/infoboxes/infobox.html">Infobox</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">Links</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/api/features/links/LinkComponent.html"> Link Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/features/links/LinksComponent.html"> Links Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/features/links/links.html">Links</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">Milestones</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/api/features/milestones/MilestoneComponent.html"> Milestone Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/features/milestones/milestone.html">Milestone</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">Particles</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/api/features/particles/ParticlesComponent.html"> Particles Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/features/particles/particles.html">Particles</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">Resources</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/api/features/resources/MainDisplayComponent.html"> Main Display Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/features/resources/ResourceComponent.html"> Resource Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/features/resources/resource.html">Resource</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">Tabs</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/api/features/tabs/TabButtonComponent.html"> Tab Button Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/features/tabs/TabComponent.html"> Tab Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/features/tabs/TabFamilyComponent.html"> Tab Family Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/features/tabs/tab.html">Tab</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/features/tabs/tabFamily.html">Tab Family</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">Tooltips</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/api/features/tooltips/TooltipComponent.html"> Tooltip Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/features/tooltips/tooltip.html">Tooltip</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">Trees</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/api/features/trees/TreeComponent.html"> Tree Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/features/trees/TreeNodeComponent.html"> Tree Node Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/features/trees/tree.html">Tree</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">Upgrades</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/api/features/upgrades/UpgradeComponent.html"> Upgrade Component</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/features/upgrades/upgrade.html">Upgrade</a><!----></li></ul></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/features/buyable.html">Buyable</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/features/conversion.html">Conversion</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/features/feature.html">Feature</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/features/hotkey.html">Hotkey</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/features/reset.html">Reset</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">Game</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/game/events.html">Events</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/game/layers.html">Layers</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/game/modifiers.html">Modifiers</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/game/notifications.html">Notifications</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/game/persistence.html">Persistence</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/game/player.html">Player</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/game/settings.html">Settings</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/game/state.html">State</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">Lib</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/lib/break_eternity.html">Break Eternity</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/lib/pwa-register.html">Pwa-register</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">Util</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/util/bignum.html">Bignum</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/util/break_eternity.html">Break Eternity</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/util/common.html">Common</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/util/computed.html">Computed</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/util/proxies.html">Proxies</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/util/save.html">Save</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="/api/modules/util/vue.html">Vue</a><!----></li></ul></li><!--]--></ul><!--[--><!--]--></aside><div class="sidebar-mask"></div><main class="page" data-v-7eddb2c4><div class="container" data-v-7eddb2c4><!--[--><!--]--><div style="position:relative;" class="content" data-v-7eddb2c4><div><h1 id="component-context" tabindex="-1">Component: Context <a class="header-anchor" href="#component-context" aria-hidden="true">#</a></h1><h2 id="events" tabindex="-1">Events <a class="header-anchor" href="#events" aria-hidden="true">#</a></h2><table><thead><tr><th style="text-align:left;">Name</th></tr></thead><tbody><tr><td style="text-align:left;"><pre>updateNodes</pre></td></tr></tbody></table><h2 id="slots" tabindex="-1">Slots <a class="header-anchor" href="#slots" aria-hidden="true">#</a></h2><table><thead><tr><th style="text-align:left;">Name</th></tr></thead><tbody><tr><td style="text-align:left;"><pre>default</pre></td></tr></tbody></table></div></div><footer class="page-footer" data-v-7eddb2c4 data-v-07c132fc><div class="edit" data-v-07c132fc><div class="edit-link" data-v-07c132fc data-v-1ed99556><a class="link" href="https://github.com/profectus-engine/profectus-docs/edit/main/docs/api/components/ContextComponent.md" target="_blank" rel="noopener noreferrer" data-v-1ed99556>Edit this page on GitHub <svg class="icon outbound icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-1ed99556><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div><div class="updated" data-v-07c132fc><!----></div></footer><div class="next-and-prev-link" data-v-7eddb2c4 data-v-38ede35f><div class="container" data-v-38ede35f><div class="prev" data-v-38ede35f><a class="link" href="/api/components/math/SqrtComponent" data-v-38ede35f><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-prev" data-v-38ede35f><path d="M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"></path></svg><span class="text" data-v-38ede35f> Sqrt Component</span></a></div><div class="next" data-v-38ede35f><a class="link" href="/api/components/InfoComponent" data-v-38ede35f><span class="text" data-v-38ede35f> Info Component</span><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-next" data-v-38ede35f><path d="M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"></path></svg></a></div></div></div><!--[--><!--]--></div></main></div><!----><!--]--></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"api_classes_lib_break_eternity.decimal.md\":\"8274a406\",\"api_components_contextcomponent.md\":\"3af2bb40\",\"api_components_infocomponent.md\":\"ab14abad\",\"api_components_layercomponent.md\":\"d6fbd2c4\",\"api_components_marknodecomponent.md\":\"6b2d67a5\",\"api_components_modalcomponent.md\":\"c17e2947\",\"api_components_nodecomponent.md\":\"4ec5c41c\",\"api_components_savecomponent.md\":\"a3af30c9\",\"api_components_fields_dangerbuttoncomponent.md\":\"4780bcb2\",\"api_components_fields_feedbackbuttoncomponent.md\":\"47481f00\",\"api_components_fields_selectcomponent.md\":\"9824cff7\",\"api_components_fields_slidercomponent.md\":\"8f5c7e06\",\"api_components_fields_textcomponent.md\":\"e237b50b\",\"api_components_fields_togglecomponent.md\":\"8b405ff6\",\"api_components_layout_collapsiblecomponent.md\":\"79cb9075\",\"api_components_layout_columncomponent.md\":\"28b8858d\",\"api_components_layout_rowcomponent.md\":\"9031f0d5\",\"api_components_layout_spacercomponent.md\":\"04995b6d\",\"api_components_layout_stickycomponent.md\":\"2719f539\",\"api_components_layout_verticalrulecomponent.md\":\"91d93531\",\"api_components_math_floorcomponent.md\":\"1066dfc4\",\"api_components_math_sqrtcomponent.md\":\"3e9a28b8\",\"api_enums_data_themes.themes.md\":\"5a7aef7f\",\"api_enums_features_boards_board.progressdisplay.md\":\"7ee18211\",\"api_enums_features_boards_board.shape.md\":\"94fafca3\",\"api_enums_features_feature.visibility.md\":\"1248f681\",\"api_enums_features_milestones_milestone.milestonedisplay.md\":\"6e63c905\",\"api_enums_util_common.direction.md\":\"a8a4f883\",\"api_features_achievements_achievementcomponent.md\":\"ea109115\",\"api_features_bars_barcomponent.md\":\"6a511759\",\"api_features_boards_boardcomponent.md\":\"c37decfd\",\"api_features_boards_boardlinkcomponent.md\":\"62983c9b\",\"api_features_boards_boardnodecomponent.md\":\"5fa653e2\",\"api_features_challenges_challengecomponent.md\":\"e8cf476c\",\"api_features_clickables_clickablecomponent.md\":\"034515d9\",\"api_features_grids_gridcellcomponent.md\":\"2d69dd20\",\"api_features_grids_gridcomponent.md\":\"479bd570\",\"api_features_infoboxes_infoboxcomponent.md\":\"71388720\",\"api_features_links_linkcomponent.md\":\"895fb86c\",\"api_features_links_linkscomponent.md\":\"95ce785b\",\"api_features_milestones_milestonecomponent.md\":\"057b078b\",\"api_features_particles_particlescomponent.md\":\"87906de5\",\"api_features_resources_maindisplaycomponent.md\":\"bbf5fd58\",\"api_features_resources_resourcecomponent.md\":\"9b918134\",\"api_features_tabs_tabbuttoncomponent.md\":\"75eeeea0\",\"api_features_tabs_tabcomponent.md\":\"ecc0bc8e\",\"api_features_tabs_tabfamilycomponent.md\":\"c6c0df96\",\"api_features_tooltips_tooltipcomponent.md\":\"4f8a1396\",\"api_features_trees_treecomponent.md\":\"ccc4b72e\",\"api_features_trees_treenodecomponent.md\":\"1e47f0f0\",\"api_features_upgrades_upgradecomponent.md\":\"c62d5b0c\",\"api_index.md\":\"58c99f1b\",\"api_interfaces_data_common.layertreenodeoptions.md\":\"068cda2b\",\"api_interfaces_data_common.resetbuttonoptions.md\":\"0b86af86\",\"api_interfaces_data_themes.theme.md\":\"4dd2cc71\",\"api_interfaces_data_themes.themevars.md\":\"a0baffa9\",\"api_interfaces_features_achievements_achievement.achievementoptions.md\":\"6e15dd90\",\"api_interfaces_features_achievements_achievement.baseachievement.md\":\"17c5f93f\",\"api_interfaces_features_bars_bar.baroptions.md\":\"277f8d9b\",\"api_interfaces_features_bars_bar.basebar.md\":\"608025f9\",\"api_interfaces_features_boards_board.baseboard.md\":\"ac4c5e8a\",\"api_interfaces_features_boards_board.baseboardnodeaction.md\":\"7e67e29e\",\"api_interfaces_features_boards_board.basenodetype.md\":\"c2937c3a\",\"api_interfaces_features_boards_board.boardnode.md\":\"639e14f3\",\"api_interfaces_features_boards_board.boardnodeactionoptions.md\":\"c16f391f\",\"api_interfaces_features_boards_board.boardnodelink.md\":\"cabed25a\",\"api_interfaces_features_boards_board.boardoptions.md\":\"f6b74541\",\"api_interfaces_features_boards_board.nodelabel.md\":\"8e6dd419\",\"api_interfaces_features_boards_board.nodetypeoptions.md\":\"2a57ffa3\",\"api_interfaces_features_buyable.basebuyable.md\":\"20d3cebf\",\"api_interfaces_features_buyable.buyableoptions.md\":\"d710e958\",\"api_interfaces_features_challenges_challenge.basechallenge.md\":\"5e6a0177\",\"api_interfaces_features_challenges_challenge.challengeoptions.md\":\"4ed55b85\",\"api_interfaces_features_clickables_clickable.baseclickable.md\":\"fe9c0e07\",\"api_interfaces_features_clickables_clickable.clickableoptions.md\":\"fdaec403\",\"api_interfaces_features_conversion.baseconversion.md\":\"fe139e39\",\"api_interfaces_features_conversion.conversionoptions.md\":\"ca5a05a6\",\"api_interfaces_features_conversion.scalingfunction.md\":\"00918479\",\"api_interfaces_features_grids_grid.basegrid.md\":\"2eb4c99b\",\"api_interfaces_features_grids_grid.gridcell.md\":\"9896cf3f\",\"api_interfaces_features_grids_grid.gridoptions.md\":\"55744cbc\",\"api_interfaces_features_hotkey.basehotkey.md\":\"057cbc9a\",\"api_interfaces_features_hotkey.hotkeyoptions.md\":\"6ddfac79\",\"api_interfaces_features_infoboxes_infobox.baseinfobox.md\":\"46215d9f\",\"api_interfaces_features_infoboxes_infobox.infoboxoptions.md\":\"2d32b157\",\"api_interfaces_features_links_links.baselinks.md\":\"f20fb7ec\",\"api_interfaces_features_links_links.link.md\":\"a68243f6\",\"api_interfaces_features_links_links.linksoptions.md\":\"fec77d28\",\"api_interfaces_features_milestones_milestone.basemilestone.md\":\"156f1fd2\",\"api_interfaces_features_milestones_milestone.milestoneoptions.md\":\"113dc135\",\"api_interfaces_features_particles_particles.baseparticles.md\":\"57b0cb15\",\"api_interfaces_features_particles_particles.particlesoptions.md\":\"f4968866\",\"api_interfaces_features_reset.basereset.md\":\"b9b69c25\",\"api_interfaces_features_reset.resetoptions.md\":\"8ebd4429\",\"api_interfaces_features_resources_resource.resource.md\":\"391a77cd\",\"api_interfaces_features_tabs_tab.basetab.md\":\"9a9a8248\",\"api_interfaces_features_tabs_tab.taboptions.md\":\"50f16c8e\",\"api_interfaces_features_tabs_tabfamily.basetabbutton.md\":\"b22ab7fe\",\"api_interfaces_features_tabs_tabfamily.basetabfamily.md\":\"818d22b7\",\"api_interfaces_features_tabs_tabfamily.tabbuttonoptions.md\":\"4614ebf7\",\"api_interfaces_features_tabs_tabfamily.tabfamilyoptions.md\":\"a26cf099\",\"api_interfaces_features_tooltips_tooltip.basetooltip.md\":\"f8e0eb07\",\"api_interfaces_features_tooltips_tooltip.tooltipoptions.md\":\"4127127a\",\"api_interfaces_features_trees_tree.basetree.md\":\"75dc4acb\",\"api_interfaces_features_trees_tree.basetreenode.md\":\"32afd24f\",\"api_interfaces_features_trees_tree.treebranch.md\":\"11f4226f\",\"api_interfaces_features_trees_tree.treenodeoptions.md\":\"e75869cf\",\"api_interfaces_features_trees_tree.treeoptions.md\":\"7db0023a\",\"api_interfaces_features_upgrades_upgrade.baseupgrade.md\":\"7565bb78\",\"api_interfaces_features_upgrades_upgrade.upgradeoptions.md\":\"784a789d\",\"api_interfaces_game_events.globalevents.md\":\"17c19e5f\",\"api_interfaces_game_layers.baselayer.md\":\"59a68733\",\"api_interfaces_game_layers.featurenode.md\":\"76e4292d\",\"api_interfaces_game_layers.layerevents.md\":\"a4fb8fb0\",\"api_interfaces_game_layers.layeroptions.md\":\"fd39d0de\",\"api_interfaces_game_layers.position.md\":\"839e5a5c\",\"api_interfaces_game_modifiers.modifier.md\":\"23fa7e2a\",\"api_interfaces_game_player.playerdata.md\":\"0a2d779c\",\"api_interfaces_game_settings.settings.md\":\"40697bae\",\"api_interfaces_game_state.transient.md\":\"fd89ae54\",\"api_interfaces_lib_pwa-register.registerswoptions.md\":\"c9b313e8\",\"api_modules_data_common.md\":\"5c4eeddb\",\"api_modules_data_projentry.md\":\"e7719da9\",\"api_modules_data_themes.md\":\"b3bbcb7b\",\"api_modules_features_achievements_achievement.md\":\"a8fcbb70\",\"api_modules_features_bars_bar.md\":\"4528b81c\",\"api_modules_features_boards_board.md\":\"4c6a4392\",\"api_modules_features_buyable.md\":\"e0099716\",\"api_modules_features_challenges_challenge.md\":\"ddc25a26\",\"api_modules_features_clickables_clickable.md\":\"8dba6fe9\",\"api_modules_features_conversion.md\":\"660ecf5d\",\"api_modules_features_feature.md\":\"8ae48194\",\"api_modules_features_grids_grid.md\":\"a326dfdb\",\"api_modules_features_hotkey.md\":\"14101ea9\",\"api_modules_features_infoboxes_infobox.md\":\"ad5f93a4\",\"api_modules_features_links_links.md\":\"ed3afad8\",\"api_modules_features_milestones_milestone.md\":\"ebb7a0ba\",\"api_modules_features_particles_particles.md\":\"56edfdef\",\"api_modules_features_reset.md\":\"366c880d\",\"api_modules_features_resources_resource.md\":\"7661ea91\",\"api_modules_features_tabs_tab.md\":\"25f9968f\",\"api_modules_features_tabs_tabfamily.md\":\"56290d93\",\"api_modules_features_tooltips_tooltip.md\":\"08926309\",\"api_modules_features_trees_tree.md\":\"9c88a323\",\"api_modules_features_upgrades_upgrade.md\":\"5a9a2185\",\"api_modules_game_events.md\":\"dc5c206a\",\"api_modules_game_layers.md\":\"4eab0ee9\",\"api_modules_game_modifiers.md\":\"94dcea2f\",\"api_modules_game_notifications.md\":\"2eed2e36\",\"api_modules_game_persistence.md\":\"c4719bba\",\"api_modules_game_player.md\":\"1184689e\",\"api_modules_game_settings.md\":\"b1ce49b7\",\"api_modules_game_state.md\":\"c71b4885\",\"api_modules_lib_break_eternity.md\":\"1261bc73\",\"api_modules_lib_pwa-register.md\":\"620ec817\",\"api_modules_util_bignum.md\":\"f26d31b8\",\"api_modules_util_break_eternity.md\":\"7d53253c\",\"api_modules_util_common.md\":\"ab9199e7\",\"api_modules_util_computed.md\":\"fd615416\",\"api_modules_util_proxies.md\":\"b009916a\",\"api_modules_util_save.md\":\"c527f8b1\",\"api_modules_util_vue.md\":\"6b92f9d0\",\"guide_changelog.md\":\"9a2d2455\",\"guide_coercable.md\":\"cc5ff21a\",\"guide_creating-features.md\":\"e1f7eca5\",\"guide_dynamic-layers.md\":\"b518d1bf\",\"guide_examples.md\":\"0d839674\",\"guide_features.md\":\"2d720b22\",\"guide_index.md\":\"1d64864e\",\"guide_layers.md\":\"96612801\",\"guide_persistence.md\":\"779a1143\",\"guide_project-entry.md\":\"ca85e0a8\",\"guide_project-info.md\":\"810f91ae\",\"guide_reactivity.md\":\"808d40d2\",\"guide_setup.md\":\"2f80c93e\",\"guide_themes.md\":\"27233252\",\"guide_updating.md\":\"5f192030\",\"guide_utils.md\":\"d6cc5548\",\"index.md\":\"1ef0e258\"}")</script>
<script type="module" async src="/assets/app.7cfe4cf0.js"></script>
</body>
</html>