-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Final fixies for 0.19 on routing and add official elm-return
- Loading branch information
1 parent
1540abb
commit 39ea475
Showing
12 changed files
with
51 additions
and
351 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
module Router.Types exposing (..) | ||
module Router.Types exposing (Model, Msg(..)) | ||
|
||
import Browser exposing (UrlRequest) | ||
import Browser.Navigation exposing (Key) | ||
import Router.Routes exposing (..) | ||
import Url exposing (Url) | ||
|
||
|
||
type alias Model = | ||
Page | ||
{ page : Page | ||
, key : Key | ||
} | ||
|
||
|
||
type Msg | ||
= OnNavigation Url | ||
= OnUrlChange Url | ||
| OnUrlRequest UrlRequest | ||
| Go Page |
Oops, something went wrong.