mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Update 06-components.md
This commit is contained in:
parent
3bbd73f27b
commit
d2800caf16
@ -596,18 +596,10 @@ Detaches the component's root element(s) from the DOM by removing the node from
|
||||
|
||||
### `insertAfter(targetEl)`
|
||||
|
||||
<<<<<<< HEAD
|
||||
### Split renderer & component
|
||||
=======
|
||||
### `insertBefore(targetEl)`
|
||||
>>>>>>> 46f1f00cfc3720e6a3cf409a44c6116a67d30626
|
||||
|
||||
### `prependTo(targetEl)`
|
||||
|
||||
<<<<<<< HEAD
|
||||
Marko automatically discovers component files in the same directory as a template. For example if you have a template named `button.marko`, it will automatically look for `button.component.js`. If your template is named `index.marko`, it will look for `component.js` in addition to `index.component.js`.
|
||||
=======
|
||||
### `replace(targetEl)`
|
||||
>>>>>>> 46f1f00cfc3720e6a3cf409a44c6116a67d30626
|
||||
|
||||
### `replaceChildrenOf(targetEl)`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user