Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KSS
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thimo Kraemer
KSS
Commits
ea1fbbf3
Commit
ea1fbbf3
authored
Nov 13, 2018
by
Thimo Kraemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated README
parent
51119ec9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
README.md
README.md
+21
-0
No files found.
README.md
View file @
ea1fbbf3
...
...
@@ -39,6 +39,27 @@ Features
[
jQuery
]:
http://api.jquery.com/animate
[
MooTools
]:
https://mootools.net/core/docs/1.6.0/Fx/Fx.Morph
Integration
===========
```
html
<script
type=
"text/javascript"
src=
"/path/to/kss.min.js"
></script>
```
Activating the MutationObserver:
```
html
<script
type=
"text/javascript"
src=
"/path/to/kss.min.js"
></script>
<script
type=
"text/javascript"
>
kss
.
useObserver
=
true
;
</script>
```
Using the MutationObserver has the advantage that KSS is notified about all
DOM manipulations even if modified by third-party scripts.
MutationObservers are available from IE11.
There exists a
[
polyfill for IE9-10
](
https://github.com/googlearchive/MutationObservers
)
Example
=======
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment