You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/client-dsl/component-basics.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,11 +20,11 @@ class MyComponent < HyperComponent
20
20
...
21
21
end
22
22
```
23
-
> **[More on the HyperComponent base class](notes#the-hypercomponent-base-class)**
23
+
> **[More on the HyperComponent base class](notes.md#the-hypercomponent-base-class)**
24
24
25
25
## The `render` Callback
26
26
27
-
At a minimum every *concrete* component class must define a `render` block which generates one or more child elements. Those children may in turn have an arbitrarily deep structure. **[More on concrete and abstract components](notes#abstract-and-concrete-components)**
27
+
At a minimum every *concrete* component class must define a `render` block which generates one or more child elements. Those children may in turn have an arbitrarily deep structure. **[More on concrete and abstract components](notes.md#abstract-and-concrete-components)**
28
28
29
29
```ruby
30
30
classComponent < HyperComponent
@@ -33,7 +33,7 @@ class Component < HyperComponent
33
33
end
34
34
end
35
35
```
36
-
> The code between the `do` and `end` is called a block. **[More here...](notes#blocks-in-ruby)**
36
+
> The code between the `do` and `end` is called a block. **[More here...](notes.md#blocks-in-ruby)**
37
37
38
38
To save a little typing you can also specify the top level element to be rendered:
0 commit comments