Skip to content

Instantly share code, notes, and snippets.

Henning Klokkeråsen HenningKlokkeraasen

Block or report user

Report or block HenningKlokkeraasen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@HenningKlokkeraasen
HenningKlokkeraasen / ko.extendes.urlSync.js
Last active Aug 16, 2016 — forked from kamranayub/ko.extendes.urlSync.js
Knockout Extender: URLSync - syncs observable value with URL hash
View ko.extendes.urlSync.js
/**
* An extender that syncs the observable with the address
* bar (using hash fragment). Will load from URL hash or
* querystring (at time of creation) and will
* update hash when observable changes.
*
* Options: string|object
* String: Query parameter key to get/set
* Object:
* - param - Query parameter key to get/set
You can’t perform that action at this time.