https://github.com/bahrus/pass-up
https://github.com/bahrus/pass-up
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bahrus/pass-up
- Owner: bahrus
- License: mit
- Created: 2021-03-21T23:38:06.000Z (about 4 years ago)
- Default Branch: baseline
- Last Pushed: 2021-09-29T23:56:15.000Z (over 3 years ago)
- Last Synced: 2025-02-15T12:05:38.166Z (4 months ago)
- Language: TypeScript
- Size: 778 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pass-up
[](https://github.com/bahrus/pass-up/actions?query=workflow%3ACI)
pass-up (or p-u for short) is a web component, which, together with [pass-down, or p-d for short](https://github.com/bahrus/pass-down) provides (limited) declarative two-way binding support of web components.
p-u is one member of the [family of web components](https://github.com/bahrus/p-et-alia) that forms a framework for declaratively gluing web components together, using HTML as the preferred mime-type for delivering content.
## Sample Syntax
```html
I don't know why she swallowed a fly - Perhaps she'll die!```
## Import Maps
If using a static file web server with no bundling, the following entries are required in your import map:
```html
{
"imports": {
"trans-render/": "../node_modules/trans-render/",
"on-to-me/": "../node_modules/on-to-me/"
}
}```
## Viewing Your Element
To view this element locally:
1. Install git, npm
2. Clone or fork this git repo.
3. Open a terminal from the folder created in step 2.
4. Run npm install
5. Run npm run serve
6. Open http://localhost:3030/demo/dev## Running Tests
```
$ npm tests
```