mirror of
				https://tildegit.org/ben/dotfiles.git
				synced 2025-08-10 05:02:03 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
		
			549 B
		
	
	
	
		
			XML
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			549 B
		
	
	
	
		
			XML
		
	
	
		
			Executable File
		
	
	
	
	
<snippet>
 | 
						|
  <content><![CDATA[
 | 
						|
import Html exposing (..)
 | 
						|
 | 
						|
 | 
						|
-- MODEL
 | 
						|
 | 
						|
type alias Model = { ... }
 | 
						|
 | 
						|
 | 
						|
-- UPDATE
 | 
						|
 | 
						|
type Msg = Reset | ...
 | 
						|
 | 
						|
update : Msg -> Model -> Model
 | 
						|
update msg model =
 | 
						|
  case msg of
 | 
						|
    Reset -> ...
 | 
						|
    ...
 | 
						|
 | 
						|
 | 
						|
-- VIEW
 | 
						|
 | 
						|
view : Model -> Html Msg
 | 
						|
view model =
 | 
						|
  ...
 | 
						|
]]></content>
 | 
						|
  <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
 | 
						|
  <tabTrigger>elmtemplate</tabTrigger>
 | 
						|
  <!-- Optional: Set a scope to limit where the snippet will trigger -->
 | 
						|
  <scope>source.elm</scope>
 | 
						|
</snippet>
 |