There are no tracking or monitoring cookies on this site. There are only cookies used for documentation examples related to cookies.
Close
Home
Documentation
Introduction
Introduction
How to read this documentation
Installation
Selectors
What is a selector?
Event selectors
Target selectors
Special combinators
Iframe & component selectors
Using comments in the config
Events
Event syntax
Initialization events
Custom events
Special keyboard events
The "clickoutside" event
The "draw" event
The "intersect" event
The "observe" event
The "innerhtmlchange" event
The ajax command response events
Action commands
Action command syntax
Delaying actions ("after")
Repeating actions ("every")
Sequential actions ("await")
The event flow for actions
add-class
add-hash
ajax
ajax-form-preview
ajax-form-submit
ajax-pre-get
alert
blur
cancel-pause
cancel-timer
cancel-timer-all
click-on-first
click-on-last
click-on-next
click-on-next-cycle
click-on-previous
click-on-previous-cycle
clickoutside-event
clone
console-log
copy-to-clipboard
@command / create-command
@command / create-conditional
create-element
dialog-close
dialog-show
document-title
empty
eval
fade-in
fade-out
fade-to
focus-on
focus-on-first
focus-on-last
focus-on-next
focus-on-next-cycle
focus-on-previous
focus-on-previous-cycle
form-reset
fullscreen
fullscreen-exit (depr.)
fullscreen-on (depr.)
func
iframe-reload
load-as-ajax
load-config
load-images
load-script
load-style
location
media-control
mimic-into
pause
prevent-default
print
remove
remove-attribute
remove-class
remove-clone
remove-cookie
remove-hash
remove-property
render
render-after-begin
render-after-end
render-before-begin
render-before-end
render-replace
restore-clone
run
scroll-into-view
scroll-x
scroll-y
set-attribute
set-class
set-cookie
set-property
slide-down
slide-up
stop-event-propagation
stop-immediate-propagation
stop-immediate-event-propagation
stop-propagation
style
take-class
toggle-attribute
toggle-class
toggle-take-class
trigger
trigger-fresh
trigger-real
url-change
var
var-delete
Creating action commands
Calling commands from JS
Conditional pseudo-selectors
Conditional pseudo-selectors
Custom conditional commands
if-completely-visible
if-completely-visible-x
if-completely-visible-y
if-cookie-equals
if-cookie-exists
if-display
if-empty
if-empty-trimmed
if-exists
if-focus-first
if-focus-last
if-form-changed
if-func
if-has
if-has-class
if-inner-html
if-inner-text
if-max-height
if-max-length
if-max-width
if-media-max-width
if-media-min-width
if-min-height
if-min-length
if-min-width
if-scrolltop-greater
if-scrolltop-less
if-selection
if-var
if-var-true
if-visible
Variables and JavaScript
Variables and JavaScript
Using DOM attributes and properties
Regular variables
Inner HTML reference variables
JavaScript expressions
JavaScript helper functions
Control flow
@if
@for
@each
@while
@media
@support
Iterating target selectors
Single Page Applications
Single page applications
Regular ajax websites
Offline interactive websites
Bookmarkable hash pages
Using a dropdown to change pages
Active CSS Components
HTML blocks
Custom elements (<like-this>)
Special component events
Events in components
Variables in components
Code and looping inside html blocks
Importing HTML, CSS and JSON for components
Loading indicators in components
Passing variables into components
Shadow DOM components
Passing elements into components
Rendering only when visible
Turning drawn HTML into a component (@scope)
Examples
Examples
"To Do" app
Simple clock
Clock with variable binding
Clock without variable binding
Button counters & variable scopes
Simple dropdown menu
Simple image modal
SPA image modal gallery
Simple embedded video modal
Simple HTML5 video controls
Simple HTML5 audio controls
CSS Variables
Component - attribute binding
Component - add/remove
Component - private variables
Component - events
Component - components in components
Component - ajax
Shadow DOM - basic
Shadow DOM - attribute binding
Shadow DOM - add/remove
Shadow DOM - private variables
Shadow DOM - events
Shadow DOM - components in components
Shadow DOM - templates and slots
Shadow DOM - ajax
Tic Tac Toe
Tic Tac Toe - private components
Tic Tac Toe - shadow DOM components
Reusable Components
Active CSS Code Editor
Debugging
Technical articles
PHP SPA very basic form handling
PHP SPA tutorial part 1
PHP SPA tutorial part 2
Downloads
Core Download
Docs Download
DevTools
About
Roadmap
FAQ
Blog
Credits
Support
Star
Active CSS
Documentation
Docs
Downloads
About
Support
Account
Introduction
Installation
Selectors
Events
Action commands
Conditional pseudo-selectors
Variables and JavaScript
Control flow
Single Page Applications
Active CSS Components
Examples
Reusable Components
Debugging
Technical articles
Core Download
Docs Download
DevTools
Roadmap
FAQ
Credits
Processing...
This may take a few seconds.
Simple HTML5 audio controls
Simple HTML5 audio controls
Quick and dirty audio player with slider. Needs volume controls, "is playing" indicators, etc.
Examples: Simple HTML5 video controls
Examples: CSS Variables