ionic-team / ionic-team/ionic-docs

content: Describe why certain implementations (e.g. ion-loading) are described as recommended

Aperta
#3,669 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
content
Lingua principale
MDX
Stelle
621
Fork
3.2k
Merge medio
1g 2h
PR unite (30g)
86

Descrizione

### Describe Problem

For example the documentation of ion-loading describes both an inline and controller implementation, but describes the inline one as recommended without explaining why.

It would be useful to know why this is recommended at this point in the documentation as it may inform your decision about how to implement something. For example, a controller-based implementation of ion-loading may seem preferable to my use case, but if I don't know why an inline implementation is recommended it's harder to make a good choice.

Is this recommendation simply for code clarity, or does it provide a benefit to the end user?

### Describe Preferred Solution

I believe there are a few components that have the same description so this could just be a link to a page describing why inline implementations are preferable.

### Describe Alternatives

_No response_

### Additional Information

https://ionicframework.com/docs/api/loading#inline-recommended

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.