https://github.com/bahrus/be-micromanaging
https://github.com/bahrus/be-micromanaging
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bahrus/be-micromanaging
- Owner: bahrus
- License: mit
- Created: 2023-06-02T22:52:38.000Z (almost 2 years ago)
- Default Branch: baseline
- Last Pushed: 2024-01-01T17:31:55.000Z (over 1 year ago)
- Last Synced: 2024-12-31T23:11:56.348Z (5 months ago)
- Language: TypeScript
- Size: 23.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# be-micromanaging [TODO]
## Example 1
```html
": {"zipCode": ":string"}
},
"number.intl": { //optional
"style": "currency", "currency": "EUR"
},
"itemDivider": "span", //optional,
"labelTag": "span" //optional -- inherits from
}'>
```Have to avoid xss
Generates:
```html
Person's age is:
Date of birth:
Last name:
```Uses be-value-added when needed
Optionally, add model values:
## Example 2
```html
": {"zipCode": "12321"}
},
"number.intl": { //optional
"style": "currency", "currency": "EUR"
},
"itemDivider": "span", //optional,
"labelTag": "span" //optional -- inherits from
}'>
```Generates:
Generates:
```html
Person's age is: 54
Date of birth:
Last name: Milei
```can update via oDiv.beEnhanced.by.beMicromanaging.model.age = 23
or if using trans-render notation:
"+beMicromanaging.model.age"
## Example 3
```html
": {"zipCode": "12321"}
},
"number.intl": { //optional
"style": "currency", "currency": "EUR"
},
"itemDivider": "", //optional,
"labelTag": "span" //optional -- inherits from
}'>
```generates:
```html
Person's age is: 54
Date of birth:
Last name: Milei
```
Problem -- meta gets booted out of table most rudely.
So solution:
```html
": {"zipCode": "12321"}
},
},
"number.intl": { //optional
"style": "currency", "currency": "EUR"
},
"itemDivider": "", //optional,
"labelTag": "span" //optional -- inherits from
}'>
```generates:
```html
Person's age is: 54
Date of birth:
Last name: Milei
```