Skip to content
This repository was archived by the owner on Dec 17, 2021. It is now read-only.

Commit f7fd602

Browse files
author
Oxford
committed
dd
1 parent 696e0c8 commit f7fd602

File tree

3 files changed

+11
-15
lines changed

3 files changed

+11
-15
lines changed

README.md

+5-9
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,10 @@ The Web-Native Project has a vision for a more empowering platform that helps us
66

77
## Overview
88

9-
> [CHTML](chtml/) - a suite of new DOM features that brings language support for a component-based architecture, data binding, and reactivity
10-
>
11-
> [Observer](observer/) - a simple set of functions for intercepting and observing JavaScript objects and arrays.
12-
>
13-
> [JSEN](jsen/) - a small library for parsing and executing JavaScript expressions in custom scopes.
14-
>
15-
> [Play UI](play-ui/) - utilities for easing DOM-related concerns, UI manipulation, events and gestures, animations, and more.
16-
>
17-
> [Observables](observables/) - a collection of observable components (routing, forms, collections and more) for building client-side applications.
9+
+ [CHTML](chtml/) - a suite of new DOM features that brings language support for a component-based architecture, data binding, and reactivity
10+
+ [Observer](observer/) - a simple set of functions for intercepting and observing JavaScript objects and arrays.
11+
+ [JSEN](jsen/) - a small library for parsing and executing JavaScript expressions in custom scopes.
12+
+ [Play UI](play-ui/) - utilities for easing DOM-related concerns, UI manipulation, events and gestures, animations, and more.
13+
+ [Observables](observables/) - a collection of observable components (routing, forms, collections and more) for building client-side applications.
1814

1915

chtml/v1/html-partials/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -272,11 +272,11 @@ HTML Partials introduces a few new DOM properties for working with composition.
272272
**For the document object:**
273273

274274
+ `.templatesReadyState` - This property reflects the status of loading templates:
275-
+ `loading` - Templates currently loading.
276-
+ `complete` - Templates done loading, or no remote templates at all. The `templatesreadystatechange` event is fired on the document object.
275+
+ `loading` - This is the initial value of this property.
276+
+ `complete` - This is the value of this property when templates are done loading, or when there are no remote templates at all. For this state, the `templatesreadystatechange` event is fired on the document object.
277277
+ `.templates` - This property represents the list of templates in the document. Templates are exposed here by name. So `document.templates.template1` should return the template element used in the examples above.
278278

279-
**For the <template> element:**
279+
**For the `<template>` element:**
280280

281281
+ `.partials` - This property represents the list of partials defined by the template. It is an object holding a reference to partials by name. Unnamed partials are treated as having the name *default*. So, for the template below,
282282

@@ -308,7 +308,7 @@ HTML Partials introduces a few new DOM properties for working with composition.
308308

309309
+ `.template` - This property represents a copy of the `<template>` element referenced by an element. So if an element implements a template as in `<div template="html/temp"></div>`, then `element.template` should be a copy of the `<template>` at the `module/temp` namespace; `element.template.partials.default` should thus return an array like the above.
310310

311-
**For the <slot> element:**
311+
**For the `<slot>` element:**
312312

313313
+ `.slottedElements` - This property represents the list of partials slotted into a slot. (Much like the [`HTMLSlotElement.assignedElements()`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement/assignedElements) method.)
314314
+ `.resolve()` - This method, without arguments, is used to programatically resolve a slot from the appropriate partial in the template given in context.

chtml/v1/installation.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ $ npm i --save @web-native-js/chtml
4040

4141
The installed package is designed to be *initialized* with the *window* object of the current browser or server evironment. To do this, import the `ENV` object and assign the *window* object to it, then call the initializer.
4242

43-
+ **Initialize the Complete Suite**
43+
+ **Initialize the Complete Suite** - Initialize the module below for everything about CHTML.
4444

4545
```js
4646
// Import
@@ -50,7 +50,7 @@ The installed package is designed to be *initialized* with the *window* object o
5050
init();
5151
```
5252

53-
+ **Initialize Individual Features**
53+
+ **Initialize Individual Features** - Find a module below for a specific CHTML feature.
5454

5555
+ **Scoped HTML**
5656

0 commit comments

Comments
 (0)