Skip to content

Commit f119672

Browse files
authored
Update README.md
1 parent 5d0bf89 commit f119672

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

README.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ Complex Nested Properties. Smart supports property nesting.
951951
952952
Example:
953953
954-
`
954+
```javascript
955955
'paging': {
956956
value: {
957957
'enabled': {
@@ -971,21 +971,34 @@ Example:
971971
},
972972
type: 'object'
973973
}
974-
`
974+
```
975975
976-
For setting `pageSize`, this could be used: grid.paging.pageSize = 15;
976+
For setting ```pageSize```, this could be used: grid.paging.pageSize = 15;
977977
978978
Initialization of an element from a JSON object with automatic Dependency Changes handling. When an element is created from a JSON object, the json it two-way bound to the element and any change in the element updates the JSON.
979+
979980
HTMLTemplates support. When in the Custom Element's template, we have HTMLTemplateElement, that template is re-evaluated on property change and can be used for dynamic user updates.
981+
980982
Method Arguments and Return Type. Smart validates Methods for Invalid return type, Arguments Count, Arguments Types.
981-
Agnostic Events - Smart exposes custom events for 'down', 'up', 'move' and 'swipe'. These events are Device agnostic and are raised for Touch and Desktop devices when the Cursor/Pointer is down, up, moved or swiped left, right, up or down.
983+
984+
Agnostic Events - Smart exposes custom events for 'down', 'up', 'move' and 'swipe'. These events are Device agnostic and are raised for
985+
986+
Touch and Desktop devices when the Cursor/Pointer is down, up, moved or swiped left, right, up or down.
987+
982988
Multiple Element Versions on the same web page is supported.
989+
983990
Localization - Built-in localization support.
991+
984992
Error Logs - Error logs with different error levels.
993+
985994
`completed` lifecycle callback which is called when the local DOM is ready and all elements are rendered.
995+
986996
`resize` notifications when the element's size is changed.
997+
987998
Style changed notifications - when the element's CSS is changed.
999+
9881000
Using Shadow DOM is optional and is user preference. When disabled, the element's local DOM is part of the document's DOM.
1001+
9891002
View-Model Binding. An Element or Multiple Elements can be bound to the same Model object.
9901003
9911004

0 commit comments

Comments
 (0)