public class IAngularStatic extends Objs
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<IAugmentedJQueryStatic> |
element
Wraps a raw DOM element or HTML string as a jQuery element.
|
Objs.Property<Objs> |
version |
Modifier | Constructor and Description |
---|---|
protected |
IAngularStatic(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static IAngularStatic |
$as(Object obj) |
Function |
bind(Object context,
Function fn,
Object... args) |
IInjectorService |
bootstrap(Document element)
Use this function to manually start up angular application.
|
IInjectorService |
bootstrap(Document element,
Objs[] modules)
Use this function to manually start up angular application.
|
IInjectorService |
bootstrap(Document element,
Objs[] modules,
IAngularBootstrapConfig config)
Use this function to manually start up angular application.
|
IInjectorService |
bootstrap(Element element)
Use this function to manually start up angular application.
|
IInjectorService |
bootstrap(Element element,
Objs[] modules)
Use this function to manually start up angular application.
|
IInjectorService |
bootstrap(Element element,
Objs[] modules,
IAngularBootstrapConfig config)
Use this function to manually start up angular application.
|
IInjectorService |
bootstrap(JQuery element)
Use this function to manually start up angular application.
|
IInjectorService |
bootstrap(JQuery element,
Objs[] modules)
Use this function to manually start up angular application.
|
IInjectorService |
bootstrap(JQuery element,
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,
Objs[] modules)
Use this function to manually start up angular application.
|
IInjectorService |
bootstrap(String element,
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(Element element)
Wraps a raw DOM element or HTML string as a jQuery element.
|
IAugmentedJQuery |
element(Element[] elementArray)
Wraps a raw DOM element or HTML string as a jQuery element.
|
IAugmentedJQuery |
element(Function func)
Wraps a raw DOM element or HTML string as a jQuery element.
|
IAugmentedJQuery |
element(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(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,
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,
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(Objs obj,
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(Objs obj,
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,
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,
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,
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!
|
IInjectorService |
resumeBootstrap(String[] extraModules)
If window.name contains prefix NG_DEFER_BOOTSTRAP!
|
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, valueOf
public Objs.Property<IAugmentedJQueryStatic> element
public Objs.Property<Objs> version
protected IAngularStatic(Objs.Constructor<?> c, Object js)
public static IAngularStatic $as(Object obj)
public IAugmentedJQuery element(String selector, Object context)
public IAugmentedJQuery element(String selector)
public IAugmentedJQuery element(Objs object)
public IAugmentedJQuery element(Element[] elementArray)
public IAugmentedJQuery element(Element element)
public IAugmentedJQuery element(Object[] array)
public IAugmentedJQuery element(Function func)
public IAugmentedJQuery element()
public IAugmentedJQuery element(JQuery object)
public IInjectorService bootstrap(String element, 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(Element element, 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(JQuery element, 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(Document element, 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(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(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(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, 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(Element element, 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(JQuery element, 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(Document element, 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, 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, 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, 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, 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(Objs obj, 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(Objs obj, 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, 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 © 2018. All rights reserved.