tutorial:mixin_your_first_mixin
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tutorial:mixin_your_first_mixin [2025/10/17 10:49] – Push out of drafting gauntrecluse | tutorial:mixin_your_first_mixin [2025/11/16 13:35] (current) – Minor fixes to try and simplify wordings and fix typos gauntrecluse | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | :!: //This page was recently pushed, and may still have inaccuracies or lacking in a few aspects. Feedback and improvements are greatly appreciated!// | ||
| - | |||
| ====== Tutorial: Making your first Mixin ====== | ====== Tutorial: Making your first Mixin ====== | ||
| ===== Preamble ===== | ===== Preamble ===== | ||
| - | This is meant to be complementary to the [[tutorial: | + | This is meant to be complementary to the [[tutorial: |
| See [[tutorial: | See [[tutorial: | ||
| Line 28: | Line 26: | ||
| </ | </ | ||
| - | It is conventional practice to name your Mixin classes the target class with '' | + | It is conventional practice to name your Mixin classes the target class with '' |
| - | You'll notice we made the Mixin class '' | + | You'll notice we made the Mixin class '' |
| Accordingly, | Accordingly, | ||
| Line 90: | Line 88: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| - | * '' | + | * '' |
| //Sidenote: one does not need to put '' | //Sidenote: one does not need to put '' | ||
| Line 129: | Line 127: | ||
| </ | </ | ||
| - | The constructor | + | The constructor |
| ==== Debugging Mixins ==== | ==== Debugging Mixins ==== | ||
tutorial/mixin_your_first_mixin.1760698143.txt.gz · Last modified: 2025/10/17 10:49 by gauntrecluse