com.github.gwtbootstrap.client.ui.resources
Class JavaScriptInjector
java.lang.Object
com.github.gwtbootstrap.client.ui.resources.AbstractInjector
com.github.gwtbootstrap.client.ui.resources.JavaScriptInjector
public class JavaScriptInjector
- extends AbstractInjector
Methods to inject JavaScript code into the document header.
- Since:
- 2.0.4.0
- Author:
- Carlos Alexandro Becker
Method Summary |
static void |
inject(String javascript)
Injects the JavaScript code into a
<script type="text/javascript">...</script> element in the
document header. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaScriptInjector
public JavaScriptInjector()
inject
public static void inject(String javascript)
- Injects the JavaScript code into a
<script type="text/javascript">...</script>
element in the
document header.
- Parameters:
javascript
- the JavaScript code
Copyright © 2012 gwtbootstrap. All Rights Reserved.