| 
						
						
						
					 | 
					@ -1,5 +1,31 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					def goto(target) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
						R.go(location.href) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
						target.scrollIntoView! | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					global css | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
						.c-list | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
							bgc:yellow1 py:30px mb:60px w:fit-content | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
							li pr: 35px | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
							li@hover cursor:pointer | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
							ul fw:bold | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
							li li fw:normal c:blue6 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
							li li@hover c:blue4 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					tag content-list < ul | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
						<self.c-list><slot> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					tag view-usage | 
					 | 
					 | 
					tag view-usage | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						<self> | 
					 | 
					 | 
						<self> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
							<content-list> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
								<li><ul @click.stop=goto($components)> 'Components' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
									<li @click.stop=goto($ref)> 'ref' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
									<li @click.stop=goto($toggle)> 'toggle' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
									<li @click.stop=goto($router)> 'router' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
								<li><ul @click.stop=goto($tips)> 'Pro-router tips' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
									<li @click.stop=goto($param)> 'R.param' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
									<li @click.stop=goto($write)> 'R.write' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
									<li @click.stop=goto($gsetters)> 'Setters and getters' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
							<h2$components.gradient> "Components" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							"This integration provides " | 
					 | 
					 | 
							"This integration provides " | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							<b> 3 | 
					 | 
					 | 
							<b> 3 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							" components:" | 
					 | 
					 | 
							" components:" | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -11,7 +37,7 @@ tag view-usage | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							"." | 
					 | 
					 | 
							"." | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							<br> | 
					 | 
					 | 
							<br> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							<br> | 
					 | 
					 | 
							<br> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
							<.bordered> "<pro-ref>" | 
					 | 
					 | 
							<$ref.bordered> "<pro-ref>" | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
							" generates a link with a proper address hooked to the router." | 
					 | 
					 | 
							" generates a link with a proper address hooked to the router." | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							<br> | 
					 | 
					 | 
							<br> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							<br> | 
					 | 
					 | 
							<br> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -73,7 +99,7 @@ tag view-usage | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
								"Pro-router treats underscore prefixed values as local and never pass it further." | 
					 | 
					 | 
								"Pro-router treats underscore prefixed values as local and never pass it further." | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							<br> | 
					 | 
					 | 
							<br> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							<br> | 
					 | 
					 | 
							<br> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
							<.bordered> "<pro-toggle>" | 
					 | 
					 | 
							<$toggle.bordered> "<pro-toggle>" | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
							" generates switch on/off element writing to url flag with a given name." | 
					 | 
					 | 
							" generates switch on/off element writing to url flag with a given name." | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							<br> | 
					 | 
					 | 
							<br> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							<br> | 
					 | 
					 | 
							<br> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -93,7 +119,7 @@ tag view-usage | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
									<pro-toggle.button param='night' disabled=true> 'Switch disabled' | 
					 | 
					 | 
									<pro-toggle.button param='night' disabled=true> 'Switch disabled' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							<br> | 
					 | 
					 | 
							<br> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							<br> | 
					 | 
					 | 
							<br> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
							<.bordered> "<pro-router>" | 
					 | 
					 | 
							<$router.bordered> "<pro-router>" | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
							" displays current view." | 
					 | 
					 | 
							" displays current view." | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							<br> | 
					 | 
					 | 
							<br> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							<br> | 
					 | 
					 | 
							<br> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -129,11 +155,11 @@ tag view-usage | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
									<c-tag> "pro-router{<c-el> ' view'}{<c-op> '='}{<c-c> 'R'}{<c-op> '.'}param{<.c-br> '('}{<c-str> 'subview'}{<.c-br> ')'}" | 
					 | 
					 | 
									<c-tag> "pro-router{<c-el> ' view'}{<c-op> '='}{<c-c> 'R'}{<c-op> '.'}param{<.c-br> '('}{<c-str> 'subview'}{<.c-br> ')'}" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							<br> | 
					 | 
					 | 
							<br> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
							<h2.gradient> "Pro-router tips" | 
					 | 
					 | 
							<h2$tips.gradient> "Pro-router tips" | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
							"Further reading is not about functionalities provided by this package itself but the ones you will be using straight from pro-router." | 
					 | 
					 | 
							"Further reading is not about functionalities provided by this package itself but the ones you will be using straight from pro-router." | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							<br> | 
					 | 
					 | 
							<br> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							<br> | 
					 | 
					 | 
							<br> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
							<.example> | 
					 | 
					 | 
							<$param.example> | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
								<code-inline> "{<c-c> 'R'}{<c-op> '.'}param{<.c-br> '('}{<c-str> 'key'}{<.c-br> ')'}" | 
					 | 
					 | 
								<code-inline> "{<c-c> 'R'}{<c-op> '.'}param{<.c-br> '('}{<c-str> 'key'}{<.c-br> ')'}" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
								<p> | 
					 | 
					 | 
								<p> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
									"Use it to receive param value for given { <i> 'key' }." | 
					 | 
					 | 
									"Use it to receive param value for given { <i> 'key' }." | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -148,7 +174,7 @@ tag view-usage | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
									<p> "You can ommit getter by going straight for the parameter." | 
					 | 
					 | 
									<p> "You can ommit getter by going straight for the parameter." | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							<br> | 
					 | 
					 | 
							<br> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							<br> | 
					 | 
					 | 
							<br> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
							<.example> | 
					 | 
					 | 
							<$write.example> | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
								<code-inline> "{<c-c> 'R'}{<c-op> '.'}write{<.c-br> '('}{<c-str> 'key'}{<c-op> ','} value{<.c-br> ')'}" | 
					 | 
					 | 
								<code-inline> "{<c-c> 'R'}{<c-op> '.'}write{<.c-br> '('}{<c-str> 'key'}{<c-op> ','} value{<.c-br> ')'}" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
								<p> | 
					 | 
					 | 
								<p> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
									"Use it to store the { <i> 'value' } under given param { <i> 'key' }." | 
					 | 
					 | 
									"Use it to store the { <i> 'value' } under given param { <i> 'key' }." | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -162,7 +188,7 @@ tag view-usage | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
									<c-tag> "input{<c-c> '$v'} type{<c-op> '='}{<c-str> 'text'} value{<c-op> '='}{<c-c> 'R'}{<c-op> '.'}param{<.c-br> '('}{<c-str> 'user-input'}{<.c-br> ')'} {<c-op> '@keyup='}{<c-c> 'R'}{<c-op> '.'}write{<.c-br> '('}{<c-str> 'user-input'}{<c-op> ', '}{<c-c> '$v'}{<c-op> '.'}value{<.c-br> ')'}" | 
					 | 
					 | 
									<c-tag> "input{<c-c> '$v'} type{<c-op> '='}{<c-str> 'text'} value{<c-op> '='}{<c-c> 'R'}{<c-op> '.'}param{<.c-br> '('}{<c-str> 'user-input'}{<.c-br> ')'} {<c-op> '@keyup='}{<c-c> 'R'}{<c-op> '.'}write{<.c-br> '('}{<c-str> 'user-input'}{<c-op> ', '}{<c-c> '$v'}{<c-op> '.'}value{<.c-br> ')'}" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
									<div[d:vcc h:100px] slot="live"> | 
					 | 
					 | 
									<div[d:vcc h:100px] slot="live"> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
										<input$v type='text' value=R.param('user-input') @keyup=R.write('user-input', $v.value)> | 
					 | 
					 | 
										<input$v type='text' value=R.param('user-input') @keyup=R.write('user-input', $v.value)> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
							<h3.gradient> "Using getters and setters" | 
					 | 
					 | 
							<h3$gsetters.gradient> "Using getters and setters" | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
							"This is very simple yet powerful feature which can fullfil many different functions." | 
					 | 
					 | 
							"This is very simple yet powerful feature which can fullfil many different functions." | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							<br> | 
					 | 
					 | 
							<br> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							<br> | 
					 | 
					 | 
							<br> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |