File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,8 @@ API docs.
141
141
142
142
143
143
#### Getters and Setters
144
+ * Only use getters and setters for ` @Input ` properties or when otherwise required for API
145
+ compatibility.
144
146
* Avoid long or complex getters and setters. If the logic of an accessor would take more than
145
147
three lines, introduce a new method to contain the logic.
146
148
* A getter should immediately precede its corresponding setter.
@@ -205,6 +207,9 @@ specific error being caught and why it cannot be prevented.
205
207
` align ` because the former much more exactly communicates what the property means.
206
208
* Except for ` @Input ` properties, use ` is ` and ` has ` prefixes for boolean properties / methods.
207
209
210
+ ##### Observables
211
+ * Don't suffix observables with ` $ ` .
212
+
208
213
##### Classes
209
214
Classes should be named based on what they're responsible for. Names should capture what the code
210
215
* does* , not how it is used:
You can’t perform that action at this time.
0 commit comments