mirror of
				https://github.com/slint-ui/slint.git
				synced 2025-10-31 03:54:25 +00:00 
			
		
		
		
	 3523e86359
			
		
	
	
		3523e86359
		
			
		
	
	
	
	
		
			
			Base the commercial license on the Royalty-free license adding clauses pertaining to the fees.
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			394 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			394 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| // Copyright © SixtyFPS GmbH <info@slint.dev>
 | |
| // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
 | |
| 
 | |
| struct Foo {
 | |
|     field: string
 | |
| }
 | |
| 
 | |
| export component Testcase  {
 | |
|     property <[Foo]> model;
 | |
|     for item in model: Text {
 | |
|         text <=> item.field;
 | |
| //               ^error{Two-way bindings to model data is not supported yet}
 | |
|     }
 | |
| }
 |