Source for file JavaScriptConsole.php
Documentation is available at JavaScriptConsole.php
- 1: <?php
- 3: /**
- 4: * Nette Framework
- 5: *
- 6: * Copyright (c) 2004, 2009 David Grudl (http://davidgrudl.com)
- 7: *
- 8: * This source file is subject to the "Nette license" that is bundled
- 9: * with this package in the file license.txt.
- 10: *
- 11: * For more information please see https://nette.org
- 12: *
- 19: */
- 27: /**
- 28: * JavaScript output console.
- 29: *
- 30: * <code>
- 31: * $js = new JavaScriptConsole;
- 32: * $js->jQuery('table tr:eq(2) img')
- 33: * ->css('z-index', 1000)
- 34: * ->animate(array('top' => '100px'));
- 35: *
- 36: * $js->fifteen->move(5, 6);
- 37: *
- 38: * $js->fifteen->partialId = '';
- 39: * $js->flush();
- 40: * </code>
- 41: *
- 45: */
- 47: {
- 53: /**
- 55: */
- 57: {
- 60: }
- 64: /**
- 65: * Sets value of a JavaScript property.
- 69: */
- 71: {
- 74: }
- 78: /**
- 79: * Returns JavaScript property value.
- 82: */
- 84: {
- 87: }
- 91: /**
- 92: * Calls JavaScript function.
- 96: */
- 98: {
- 101: }
- 105: /**
- 106: * Appends user expressions.
- 109: */
- 111: {
- 114: }
- 116: }