diff --git a/docs/components/component_state.md b/docs/components/component_state.md index 7c73d52a..515ba1b1 100644 --- a/docs/components/component_state.md +++ b/docs/components/component_state.md @@ -38,7 +38,7 @@ export default Blits.Component('MyComponent', { ### Accessing State in Templates -As explained in the [template section](/essentials/template_syntax.md), you can refer to state variables in a template by prefixing the state variable name with a _dollar sign_ (e.g., `$alpha`). Think of the `$`-sign as a reference to the `this`-scope of the component. +As explained in the [template section](../essentials/template_syntax.md), you can refer to state variables in a template by prefixing the state variable name with a _dollar sign_ (e.g., `$alpha`). Think of the `$`-sign as a reference to the `this`-scope of the component. For nested objects, you can use _dot notation_ (e.g., `$style.dimensions.w`). diff --git a/docs/essentials/template_syntax.md b/docs/essentials/template_syntax.md index 676ce34b..73ca873a 100644 --- a/docs/essentials/template_syntax.md +++ b/docs/essentials/template_syntax.md @@ -50,7 +50,7 @@ This concept of _reactive data binding_ eliminates the need for manual template Reactive arguments also support _interpolation_. This enables the use of simple JavaScript instructions, such as ternary conditions or basic String and Math manipulations, right inside your template arguments. -For more complex logic, it's recommended to abstract this into a [Component method](/components/methods.md) or a [Computed property](/components/computed_properties.md). +For more complex logic, it's recommended to abstract this into a [Component method](../components/methods.md) or a [Computed property](../components/computed_properties.md). ## Abstracting template portions to custom components diff --git a/docs/getting_started/file_structure.md b/docs/getting_started/file_structure.md index aa1b925c..0b500d52 100644 --- a/docs/getting_started/file_structure.md +++ b/docs/getting_started/file_structure.md @@ -2,7 +2,7 @@ ## File structure -Once you have created a new Blits App using the boilerplate described in the [Getting started]('/gettings_started/getting_started.md'), you should have a project with all the basics you need. +Once you have created a new Blits App using the boilerplate described in the [Getting started](getting_started.md), you should have a project with all the basics you need. Let's review the basic file structure, and take a closer look at the important ones.