Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc-site/public/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ Alternativley, use from CDN

# Slim templates

Every slim.js component needs to define it's template. As a rule of thumb, everything wrapped in handlebars (as long as the markup is valid) is transformed into code exeucted in the scope of the component. Slim detects every handlebars-wrapped code, looks up everything that matches `this.*` and wraps the property name with getter and setter. Whenever the property is changed, the targeted node (text node or attribute) is altered accordingly. Some directives can still execute code, but do not require detection for property changes, and works without the need for handlebars syntax.
Every slim.js component needs to define it's template. As a rule of thumb, everything wrapped in handlebars (as long as the markup is valid) is transformed into code executed in the scope of the component. Slim detects every handlebars-wrapped code, looks up everything that matches `this.*` and wraps the property name with getter and setter. Whenever the property is changed, the targeted node (text node or attribute) is altered accordingly. Some directives can still execute code, but do not require detection for property changes, and works without the need for handlebars syntax.