How to implement Dynamically created subcategories in existing dynamic side menu items

HOW TO POST CODE

First we type three backticks at the beginning of a fresh line, then we put all of our code after them, with proper indentation, and we finish the code fence with another set of three backticks. Use the preview feature to make sure you are doing it right.

```
f(arg: string): void {
  if (string === ‘foo’) {
    this.barificate(arg);
  } else {
    this.fooificate(arg);
  }
}
```

…would become:

f(arg: string): void {
  if (arg === 'foo') {
    this.barificate(arg);
  } else {
    this.fooificate(arg);
  }
}

As for your question, I get that you are excited to make as much progress as you can as quickly as possible. However, it’s really not sustainable to expect a bunch of volunteers to completely write your app for you. If you can make some time, take a deep breath, and really go through the Tour of Heroes, and then clone the Ionic conference app, run it, explore all of its features with an eye on what might be similar to things you want to do in your app and look at how it is implemented.

It may seem like a waste of time to you now, but when you look back at it a week from now, you will be a much more self-sufficient programmer that will be making more efficient progress with a better understanding of what you are doing, and you’ll be able to make better use of the resources of the forum.

7 Likes