public class IAngularStatic
extends net.java.html.lib.Objs
| Modifier and Type | Field and Description |
|---|---|
net.java.html.lib.Objs.Property<IAugmentedJQueryStatic> |
element
Wraps a raw DOM element or HTML string as a jQuery element.
|
net.java.html.lib.Objs.Property<net.java.html.lib.Objs> |
version |
| Modifier | Constructor and Description |
|---|---|
protected |
IAngularStatic(net.java.html.lib.Objs.Constructor<?> c,
Object js) |
| Modifier and Type | Method and Description |
|---|---|
static IAngularStatic |
$as(Object obj) |
net.java.html.lib.Function |
bind(Object context,
net.java.html.lib.Function fn,
Object... args) |
IInjectorService |
bootstrap(net.java.html.lib.dom.Document element)
Use this function to manually start up angular application.
|
IInjectorService |
bootstrap(net.java.html.lib.dom.Document element,
net.java.html.lib.Objs[] modules)
Use this function to manually start up angular application.
|
IInjectorService |
bootstrap(net.java.html.lib.dom.Document element,
net.java.html.lib.Objs[] modules,
IAngularBootstrapConfig config)
Use this function to manually start up angular application.
|
IInjectorService |
bootstrap(net.java.html.lib.dom.Element element)
Use this function to manually start up angular application.
|
IInjectorService |
bootstrap(net.java.html.lib.dom.Element element,
net.java.html.lib.Objs[] modules)
Use this function to manually start up angular application.
|
IInjectorService |
bootstrap(net.java.html.lib.dom.Element element,
net.java.html.lib.Objs[] modules,
IAngularBootstrapConfig config)
Use this function to manually start up angular application.
|
IInjectorService |
bootstrap(net.java.html.lib.jquery.JQuery element)
Use this function to manually start up angular application.
|
IInjectorService |
bootstrap(net.java.html.lib.jquery.JQuery element,
net.java.html.lib.Objs[] modules)
Use this function to manually start up angular application.
|
IInjectorService |
bootstrap(net.java.html.lib.jquery.JQuery element,
net.java.html.lib.Objs[] modules,
IAngularBootstrapConfig config)
Use this function to manually start up angular application.
|
IInjectorService |
bootstrap(String element)
Use this function to manually start up angular application.
|
IInjectorService |
bootstrap(String element,
net.java.html.lib.Objs[] modules)
Use this function to manually start up angular application.
|
IInjectorService |
bootstrap(String element,
net.java.html.lib.Objs[] modules,
IAngularBootstrapConfig config)
Use this function to manually start up angular application.
|
<T> T |
copy(T source)
Creates a deep copy of source, which should be an object or an array.
|
<T> T |
copy(T source,
T destination)
Creates a deep copy of source, which should be an object or an array.
|
IAugmentedJQuery |
element()
Wraps a raw DOM element or HTML string as a jQuery element.
|
IAugmentedJQuery |
element(net.java.html.lib.dom.Element element)
Wraps a raw DOM element or HTML string as a jQuery element.
|
IAugmentedJQuery |
element(net.java.html.lib.dom.Element[] elementArray)
Wraps a raw DOM element or HTML string as a jQuery element.
|
IAugmentedJQuery |
element(net.java.html.lib.Function func)
Wraps a raw DOM element or HTML string as a jQuery element.
|
IAugmentedJQuery |
element(net.java.html.lib.jquery.JQuery object)
Wraps a raw DOM element or HTML string as a jQuery element.
|
IAugmentedJQuery |
element(Object[] array)
Wraps a raw DOM element or HTML string as a jQuery element.
|
IAugmentedJQuery |
element(net.java.html.lib.Objs object)
Wraps a raw DOM element or HTML string as a jQuery element.
|
IAugmentedJQuery |
element(String selector)
Wraps a raw DOM element or HTML string as a jQuery element.
|
IAugmentedJQuery |
element(String selector,
Object context)
Wraps a raw DOM element or HTML string as a jQuery element.
|
Boolean |
equals(Object value1,
Object value2) |
Object |
extend(Object destination,
Object... sources) |
Object |
forEach(Object obj,
net.java.html.lib.Function.A2<? super Object,? super Object,? extends Object> iterator)
Invokes the iterator function once for each item in obj collection, which can be either an object or an array.
|
Object |
forEach(Object obj,
net.java.html.lib.Function.A2<? super Object,? super Object,? extends Object> iterator,
Object context)
Invokes the iterator function once for each item in obj collection, which can be either an object or an array.
|
<T> Object |
forEach(net.java.html.lib.Objs obj,
net.java.html.lib.Function.A2<? super T,? super String,? extends Object> iterator)
Invokes the iterator function once for each item in obj collection, which can be either an object or an array.
|
<T> Object |
forEach(net.java.html.lib.Objs obj,
net.java.html.lib.Function.A2<? super T,? super String,? extends Object> iterator,
Object context)
Invokes the iterator function once for each item in obj collection, which can be either an object or an array.
|
<T> Object |
forEach(T[] obj,
net.java.html.lib.Function.A2<? super T,? super Number,? extends Object> iterator)
Invokes the iterator function once for each item in obj collection, which can be either an object or an array.
|
<T> Object |
forEach(T[] obj,
net.java.html.lib.Function.A2<? super T,? super Number,? extends Object> iterator,
Object context)
Invokes the iterator function once for each item in obj collection, which can be either an object or an array.
|
Object |
fromJson(String json) |
<T> T |
identity() |
<T> T |
identity(T arg) |
IInjectorService |
injector() |
IInjectorService |
injector(Object[] modules) |
IInjectorService |
injector(Object[] modules,
Boolean strictDi) |
Boolean |
isArray(Object value) |
Boolean |
isDate(Object value) |
Boolean |
isDefined(Object value) |
Boolean |
isElement(Object value) |
Boolean |
isFunction(Object value) |
Boolean |
isNumber(Object value) |
Boolean |
isObject(Object value) |
Boolean |
isString(Object value) |
Boolean |
isUndefined(Object value) |
String |
lowercase(String str) |
Object |
merge(Object dst,
Object... src)
Deeply extends the destination object dst by copying own enumerable properties from the src object(s) to dst.
|
IModule |
module(String name)
The angular.module is a global place for creating, registering and retrieving Angular modules.
|
IModule |
module(String name,
String[] requires)
The angular.module is a global place for creating, registering and retrieving Angular modules.
|
IModule |
module(String name,
String[] requires,
net.java.html.lib.Function configFn)
The angular.module is a global place for creating, registering and retrieving Angular modules.
|
void |
noop(Object... args) |
void |
reloadWithDebugInfo() |
IInjectorService |
resumeBootstrap()
If window.name contains prefix NG_DEFER_BOOTSTRAP! when angular.bootstrap is called, the bootstrap process will be paused until angular.resumeBootstrap() is called.
|
IInjectorService |
resumeBootstrap(String[] extraModules)
If window.name contains prefix NG_DEFER_BOOTSTRAP! when angular.bootstrap is called, the bootstrap process will be paused until angular.resumeBootstrap() is called.
|
String |
toJson(Object obj) |
String |
toJson(Object obj,
Boolean pretty) |
String |
uppercase(String str) |
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOfpublic net.java.html.lib.Objs.Property<IAugmentedJQueryStatic> element
public net.java.html.lib.Objs.Property<net.java.html.lib.Objs> version
protected IAngularStatic(net.java.html.lib.Objs.Constructor<?> c,
Object js)
public static IAngularStatic $as(Object obj)
public IAugmentedJQuery element(net.java.html.lib.dom.Element element)
public IAugmentedJQuery element(String selector, Object context)
public IAugmentedJQuery element(String selector)
public IAugmentedJQuery element(net.java.html.lib.jquery.JQuery object)
public IAugmentedJQuery element(Object[] array)
public IAugmentedJQuery element(net.java.html.lib.Objs object)
public IAugmentedJQuery element(net.java.html.lib.dom.Element[] elementArray)
public IAugmentedJQuery element()
public IAugmentedJQuery element(net.java.html.lib.Function func)
public net.java.html.lib.Function bind(Object context, net.java.html.lib.Function fn, Object... args)
public IInjectorService bootstrap(String element, net.java.html.lib.Objs[] modules, IAngularBootstrapConfig config)
element - DOM element which is the root of angular application.modules - An array of modules to load into the application.
Each item in the array should be the name of a predefined module or a (DI annotated)
function that will be invoked by the injector as a config block.config - an object for defining configuration options for the application. The following keys are supported:
- `strictDi`: disable automatic function annotation for the application. This is meant to assist in finding bugs which break minified code.public IInjectorService bootstrap(net.java.html.lib.dom.Element element, net.java.html.lib.Objs[] modules, IAngularBootstrapConfig config)
element - DOM element which is the root of angular application.modules - An array of modules to load into the application.
Each item in the array should be the name of a predefined module or a (DI annotated)
function that will be invoked by the injector as a config block.config - an object for defining configuration options for the application. The following keys are supported:
- `strictDi`: disable automatic function annotation for the application. This is meant to assist in finding bugs which break minified code.public IInjectorService bootstrap(net.java.html.lib.jquery.JQuery element, net.java.html.lib.Objs[] modules, IAngularBootstrapConfig config)
element - DOM element which is the root of angular application.modules - An array of modules to load into the application.
Each item in the array should be the name of a predefined module or a (DI annotated)
function that will be invoked by the injector as a config block.config - an object for defining configuration options for the application. The following keys are supported:
- `strictDi`: disable automatic function annotation for the application. This is meant to assist in finding bugs which break minified code.public IInjectorService bootstrap(net.java.html.lib.dom.Document element, net.java.html.lib.Objs[] modules, IAngularBootstrapConfig config)
element - DOM element which is the root of angular application.modules - An array of modules to load into the application.
Each item in the array should be the name of a predefined module or a (DI annotated)
function that will be invoked by the injector as a config block.config - an object for defining configuration options for the application. The following keys are supported:
- `strictDi`: disable automatic function annotation for the application. This is meant to assist in finding bugs which break minified code.public IInjectorService bootstrap(String element)
element - DOM element which is the root of angular application.modules - An array of modules to load into the application.
Each item in the array should be the name of a predefined module or a (DI annotated)
function that will be invoked by the injector as a config block.config - an object for defining configuration options for the application. The following keys are supported:
- `strictDi`: disable automatic function annotation for the application. This is meant to assist in finding bugs which break minified code.public IInjectorService bootstrap(net.java.html.lib.dom.Element element)
element - DOM element which is the root of angular application.modules - An array of modules to load into the application.
Each item in the array should be the name of a predefined module or a (DI annotated)
function that will be invoked by the injector as a config block.config - an object for defining configuration options for the application. The following keys are supported:
- `strictDi`: disable automatic function annotation for the application. This is meant to assist in finding bugs which break minified code.public IInjectorService bootstrap(net.java.html.lib.jquery.JQuery element)
element - DOM element which is the root of angular application.modules - An array of modules to load into the application.
Each item in the array should be the name of a predefined module or a (DI annotated)
function that will be invoked by the injector as a config block.config - an object for defining configuration options for the application. The following keys are supported:
- `strictDi`: disable automatic function annotation for the application. This is meant to assist in finding bugs which break minified code.public IInjectorService bootstrap(net.java.html.lib.dom.Document element)
element - DOM element which is the root of angular application.modules - An array of modules to load into the application.
Each item in the array should be the name of a predefined module or a (DI annotated)
function that will be invoked by the injector as a config block.config - an object for defining configuration options for the application. The following keys are supported:
- `strictDi`: disable automatic function annotation for the application. This is meant to assist in finding bugs which break minified code.public IInjectorService bootstrap(String element, net.java.html.lib.Objs[] modules)
element - DOM element which is the root of angular application.modules - An array of modules to load into the application.
Each item in the array should be the name of a predefined module or a (DI annotated)
function that will be invoked by the injector as a config block.config - an object for defining configuration options for the application. The following keys are supported:
- `strictDi`: disable automatic function annotation for the application. This is meant to assist in finding bugs which break minified code.public IInjectorService bootstrap(net.java.html.lib.dom.Element element, net.java.html.lib.Objs[] modules)
element - DOM element which is the root of angular application.modules - An array of modules to load into the application.
Each item in the array should be the name of a predefined module or a (DI annotated)
function that will be invoked by the injector as a config block.config - an object for defining configuration options for the application. The following keys are supported:
- `strictDi`: disable automatic function annotation for the application. This is meant to assist in finding bugs which break minified code.public IInjectorService bootstrap(net.java.html.lib.jquery.JQuery element, net.java.html.lib.Objs[] modules)
element - DOM element which is the root of angular application.modules - An array of modules to load into the application.
Each item in the array should be the name of a predefined module or a (DI annotated)
function that will be invoked by the injector as a config block.config - an object for defining configuration options for the application. The following keys are supported:
- `strictDi`: disable automatic function annotation for the application. This is meant to assist in finding bugs which break minified code.public IInjectorService bootstrap(net.java.html.lib.dom.Document element, net.java.html.lib.Objs[] modules)
element - DOM element which is the root of angular application.modules - An array of modules to load into the application.
Each item in the array should be the name of a predefined module or a (DI annotated)
function that will be invoked by the injector as a config block.config - an object for defining configuration options for the application. The following keys are supported:
- `strictDi`: disable automatic function annotation for the application. This is meant to assist in finding bugs which break minified code.public <T> T copy(T source,
T destination)
source - The source that will be used to make a copy. Can be any type, including primitives, null, and undefined.destination - Destination into which the source is copied. If provided, must be of the same type as source.public <T> T copy(T source)
source - The source that will be used to make a copy. Can be any type, including primitives, null, and undefined.destination - Destination into which the source is copied. If provided, must be of the same type as source.public Object forEach(Object obj, net.java.html.lib.Function.A2<? super Object,? super Object,? extends Object> iterator, Object context)
obj - Object to iterate over.iterator - Iterator function.context - Object to become context (this) for the iterator function.public Object forEach(Object obj, net.java.html.lib.Function.A2<? super Object,? super Object,? extends Object> iterator)
obj - Object to iterate over.iterator - Iterator function.context - Object to become context (this) for the iterator function.public <T> Object forEach(T[] obj, net.java.html.lib.Function.A2<? super T,? super Number,? extends Object> iterator, Object context)
obj - Object to iterate over.iterator - Iterator function.context - Object to become context (this) for the iterator function.public <T> Object forEach(T[] obj, net.java.html.lib.Function.A2<? super T,? super Number,? extends Object> iterator)
obj - Object to iterate over.iterator - Iterator function.context - Object to become context (this) for the iterator function.public <T> Object forEach(net.java.html.lib.Objs obj, net.java.html.lib.Function.A2<? super T,? super String,? extends Object> iterator, Object context)
obj - Object to iterate over.iterator - Iterator function.context - Object to become context (this) for the iterator function.public <T> Object forEach(net.java.html.lib.Objs obj, net.java.html.lib.Function.A2<? super T,? super String,? extends Object> iterator)
obj - Object to iterate over.iterator - Iterator function.context - Object to become context (this) for the iterator function.public <T> T identity(T arg)
public <T> T identity()
public IInjectorService injector(Object[] modules, Boolean strictDi)
public IInjectorService injector()
public IInjectorService injector(Object[] modules)
public Object merge(Object dst, Object... src)
dst - Destination object.src - Source object(s).public IModule module(String name, String[] requires, net.java.html.lib.Function configFn)
name - The name of the module to create or retrieve.requires - The names of modules this module depends on. If specified then new module is being created. If unspecified then the module is being retrieved for further configuration.configFn - Optional configuration function for the module.public IModule module(String name)
name - The name of the module to create or retrieve.requires - The names of modules this module depends on. If specified then new module is being created. If unspecified then the module is being retrieved for further configuration.configFn - Optional configuration function for the module.public IModule module(String name, String[] requires)
name - The name of the module to create or retrieve.requires - The names of modules this module depends on. If specified then new module is being created. If unspecified then the module is being retrieved for further configuration.configFn - Optional configuration function for the module.public void noop(Object... args)
public void reloadWithDebugInfo()
public IInjectorService resumeBootstrap(String[] extraModules)
extraModules - An optional array of modules that should be added to the original list of modules that the app was about to be bootstrapped with.public IInjectorService resumeBootstrap()
extraModules - An optional array of modules that should be added to the original list of modules that the app was about to be bootstrapped with.Copyright © 2016. All rights reserved.