@rhtml/operators
v0.0.133
Published
Reactive HyperText Markup Language
Downloads
151
Readme
@rhtml/operators
Installation
npm i @rhtml/operators
Usage
import { LitElement, Component, html } from '@rxdi/lit-html';
import '@rhtml/operators';
@Component({
selector: 'r-html-view',
template(this: RHtmlViewComponent) {
return html`
<r-for .of=${['IterableItem 1', 'Iterable Item 2']}>
<r-let .item=${v => html``}></r-let>
</r-for>
<r-let .data=${['IterableItem 1', 'Iterable Item 2']} .item=${v => html`
dadada
`}></r-let>
`;
}
})
export class RHtmlViewComponent extends LitElement {}