Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type alias NavigationState = {
- canGoBak: Bool
- conGoForward: Bool
- }
- type alias SecurityState = {
- isSecure: Bool
- extendedValidation: Bool
- }
- type alias LoadState = {
- loadStarted: Int
- loadEnded: Int
- connected: Int
- progress: Float -- 0 to 1
- }
- type URI = Blank | String
- type alias PageState = {
- uri: URI
- title: String
- isFocused: Bool
- }
- type alias Direction = Forward | Backward
- type alias Selection = {
- start: Int
- end: Int
- direction: Direction
- }
- type alias Input = {
- isFocused: Bool
- selection: Selection
- value: String
- }
- type alias WebView = {
- progress: LoadState
- security: SecurityState
- navigation: NavigationState
- page: PageState
- input: Input
- }
- type alias Browser = {
- views: List WebViews
- active: Int
- }
- type alias App = {
- isFocused: Bool
- theme: Theme
- browser: WebView
- }
- --------
- type alias LocationBar = {
- isFocused: Bool
- theme: Theme
- webView: WebView
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement