An open API service indexing awesome lists of open source software.

https://github.com/imhype/router-by-hashchange

通过监听hash值变化,改变页面的局部内容
https://github.com/imhype/router-by-hashchange

Last synced: 3 months ago
JSON representation

通过监听hash值变化,改变页面的局部内容

Awesome Lists containing this project

README

        

# ajax update by hash change

> 通过监听URL中HASH值的改变,来更新页面中局部的内容

-------------------------
## How To Use It .
* Add The Script.
* Add The ViewArea.
* Setting In Script.

## Note
```html

var bd = spa.getByClass(document,"body")[0];
spa.mvc({body:bd});

```
## License

© Junyu Xu