Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion app-location.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@
path="{{__path}}"
query="{{__query}}"
hash="{{__hash}}"
url-space-regex={{urlSpaceRegex}}>
url-space-regex={{urlSpaceRegex}}
dwell-time={{dwellTime}}>
</iron-location>
<iron-query-params
params-string="{{__query}}"
Expand Down Expand Up @@ -164,6 +165,19 @@
path: {
type: String,
observer: '__onPathChanged'
},

/**
* If the user was on a URL for less than `dwellTime` milliseconds, it
* won't be added to the browser's history, but instead will be replaced
* by the next entry.
*
* This is to prevent large numbers of entries from clogging up the user's
* browser history. Disable by setting to a negative number.
*/
dwellTime: {
type: Number,
value: 2000
}
},

Expand Down