Skip to content

Commit

Permalink
Fixed internal links in documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
michielvandergeest committed Mar 11, 2024
1 parent f433154 commit d13ec9a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/components/component_state.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`).

Expand Down
2 changes: 1 addition & 1 deletion docs/essentials/template_syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/getting_started/file_structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit d13ec9a

Please sign in to comment.