A platform combines multiple tutorials, projects, documentations, questions and answers for developers
  • Home (current)
  • Documentations
  • About
  • Login
  1. Home
  2. Documentations
  3. Angular 2
  4. Attribute

Attribute

Stable Interface

Interface Overview

interface Attribute {
  attributeName : string
}

Interface Description

Attribute decorator and metadata.

Interface Details

attributeName : string

exported from @angular/core/index, defined in @angular/core/src/metadata/di.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/core/index/Attribute-interface.html

Guide
1. Overview
2. Setup
3. Learning Angular
4. Architecture
5. The Root Module
6. Displaying Data
7. User Input
8. Forms
9. Dependency Injection
10. Template Syntax
14. Change Log
Animations
Attribute Directives
Browser support
Component Styles
Deployment
Glossary
HTTP Client
Hierarchical Injectors
Lifecycle Hooks
NgModules
Npm Packages
Pipes
Reactive Forms
Routing & Navigation
Security
Setup Anatomy
Structural Directives
Testing
TypeScript Configuration
Upgrading from AngularJS
Webpack
Tutorial
1. Introduction
2. The Hero Editor
3. Master/Detail
4. Multiple Components
5. Services
6. Routing
7. HTTP
Cookbook
Ahead-of-Time Compilation
AngularJS to Angular Quick Reference
Component Interaction
Cookbook
Dependency Injection
Dynamic Component Loader
Dynamic Forms
Form Validation
Internationalization (i18n)
NgModule FAQs
Set the Document Title
TypeScript to JavaScript
Visual Studio 2015 QuickStart
API: forms
AbstractControl
AbstractControlDirective
AbstractFormGroupDirective
AsyncValidatorFn
CheckboxControlValueAccessor
CheckboxRequiredValidator
ControlContainer
ControlValueAccessor
DefaultValueAccessor
Form
FormArray
FormArrayName
FormBuilder
FormControl
FormControlDirective
FormControlName
FormGroup
FormGroupDirective
FormGroupName
FormsModule
MaxLengthValidator
MinLengthValidator
NG_ASYNC_VALIDATORS
NG_VALIDATORS
NG_VALUE_ACCESSOR
NgControl
NgControlStatus
NgControlStatusGroup
NgForm
NgModel
NgModelGroup
NgSelectOption
PatternValidator
RadioControlValueAccessor
ReactiveFormsModule
RequiredValidator
SelectControlValueAccessor
SelectMultipleControlValueAccessor
Validator
ValidatorFn
Validators
forms
API: router
ActivatedRoute
ActivatedRouteSnapshot
CanActivate
CanActivateChild
CanDeactivate
CanLoad
Data
DefaultUrlSerializer
DetachedRouteHandle
Event
ExtraOptions
LoadChildren
LoadChildrenCallback
NavigationCancel
NavigationEnd
NavigationError
NavigationExtras
NavigationStart
NoPreloading
PRIMARY_OUTLET
Params
PreloadAllModules
PreloadingStrategy
ROUTER_CONFIGURATION
ROUTER_INITIALIZER
Resolve
ResolveData
Route
RouteReuseStrategy
Router
RouterLink
RouterLinkActive
RouterLinkWithHref
RouterModule
RouterOutlet
RouterOutletMap
RouterPreloader
RouterState
RouterStateSnapshot
RouterTestingModule
Routes
RoutesRecognized
SpyNgModuleFactoryLoader
UrlHandlingStrategy
UrlSegment
UrlSegmentGroup
UrlSerializer
UrlTree
provideRoutes()
router
router/testing
setupTestingRouter()
API: core
ANALYZE_FOR_ENTRY_COMPONENTS
APP_BOOTSTRAP_LISTENER
APP_ID
APP_INITIALIZER
AUTO_STYLE
AfterContentChecked
AfterContentInit
AfterViewChecked
AfterViewInit
AnimationAnimateMetadata
AnimationEntryMetadata
AnimationGroupMetadata
AnimationKeyframe
AnimationKeyframesSequenceMetadata
AnimationMetadata
AnimationPlayer
AnimationSequenceMetadata
AnimationStateDeclarationMetadata
AnimationStateMetadata
AnimationStateTransitionMetadata
AnimationStyleMetadata
AnimationStyles
AnimationTransitionEvent
AnimationWithStepsMetadata
ApplicationInitStatus
ApplicationModule
ApplicationRef
Attribute
COMPILER_OPTIONS
CUSTOM_ELEMENTS_SCHEMA
ChangeDetectionStrategy
ChangeDetectorRef
Class()
ClassDefinition
ClassProvider
CollectionChangeRecord
Compiler
CompilerFactory
CompilerOptions
Component
ComponentFactory
ComponentFactoryResolver
ComponentFixture
ComponentFixtureAutoDetect
ComponentFixtureNoNgZone
ComponentRef
ContentChild
ContentChildren
DebugElement
DebugNode
DefaultIterableDiffer
Directive
DoCheck
ElementRef
EmbeddedViewRef
ErrorHandler
EventEmitter
ExistingProvider
FactoryProvider
ForwardRefFn
GetTestability
Host
HostBinding
HostListener
Inject
InjectSetupWrapper
Injectable
Injector
Input
IterableDiffer
IterableDifferFactory
IterableDiffers
KeyValueChangeRecord
KeyValueDiffer
KeyValueDifferFactory
KeyValueDiffers
LOCALE_ID
MetadataOverride
ModuleWithComponentFactories
ModuleWithProviders
NO_ERRORS_SCHEMA
NgModule
NgModuleFactory
NgModuleFactoryLoader
NgModuleRef
NgProbeToken
NgZone
OnChanges
OnDestroy
OnInit
OpaqueToken
Optional
Output
PACKAGE_ROOT_URL
PLATFORM_INITIALIZER
Pipe
PipeTransform
PlatformRef
Provider
Query
QueryList
ReflectiveInjector
ReflectiveKey
RenderComponentType
Renderer
ResolvedReflectiveFactory
ResolvedReflectiveProvider
RootRenderer
Sanitizer
SchemaMetadata
SecurityContext
Self
SimpleChange
SimpleChanges
SkipSelf
SystemJsNgModuleLoader
SystemJsNgModuleLoaderConfig
TRANSLATIONS
TRANSLATIONS_FORMAT
TemplateRef
TestBed
TestComponentRenderer
TestModuleMetadata
Testability
TestabilityRegistry
TrackByFn
Type
TypeProvider
ValueProvider
Version
ViewChild
ViewChildren
ViewContainerRef
ViewEncapsulation
ViewRef
WrappedValue
WtfScopeFn
animate()
asNativeElements()
assertPlatform()
async()
core
core/testing
createPlatform()
createPlatformFactory()
destroyPlatform()
discardPeriodicTasks()
enableProdMode()
fakeAsync()
flushMicrotasks()
forwardRef()
getDebugNode()
getModuleFactory()
getPlatform()
getTestBed()
group()
inject()
isDevMode()
keyframes()
platformCore
resetFakeAsyncZone()
resolveForwardRef()
sequence()
setTestabilityGetter()
state()
style()
tick()
transition()
trigger()
withModule()
wtfCreateScope
wtfEndTimeRange
wtfLeave
wtfStartTimeRange
API: platform-browser
AnimationDriver
BrowserModule
BrowserTestingModule
By
DOCUMENT
DomSanitizer
EVENT_MANAGER_PLUGINS
EventManager
HAMMER_GESTURE_CONFIG
HammerGestureConfig
NgProbeToken
SafeHtml
SafeResourceUrl
SafeScript
SafeStyle
SafeUrl
Title
disableDebugTools()
enableDebugTools()
platform-browser
platform-browser/testing
platformBrowser
platformBrowserTesting
API: common
APP_BASE_HREF
AsyncPipe
CommonModule
CurrencyPipe
DatePipe
DecimalPipe
HashLocationStrategy
I18nPluralPipe
I18nSelectPipe
JsonPipe
LOCATION_INITIALIZED
Location
LocationChangeEvent
LocationChangeListener
LocationStrategy
LowerCasePipe
MockLocationStrategy
NgClass
NgFor
NgIf
NgLocalization
NgPlural
NgPluralCase
NgStyle
NgSwitch
NgSwitchCase
NgSwitchDefault
NgTemplateOutlet
PathLocationStrategy
PercentPipe
PlatformLocation
PopStateEvent
SlicePipe
SpyLocation
UpperCasePipe
common
common/testing
API: http
BaseRequestOptions
BaseResponseOptions
BrowserXhr
Connection
ConnectionBackend
CookieXSRFStrategy
Headers
Http
HttpModule
JSONPBackend
JSONPConnection
Jsonp
JsonpModule
MockBackend
MockConnection
QueryEncoder
ReadyState
Request
RequestMethod
RequestOptions
RequestOptionsArgs
Response
ResponseContentType
ResponseOptions
ResponseOptionsArgs
ResponseType
URLSearchParams
XHRBackend
XHRConnection
XSRFStrategy
http
http/testing
API: platform-webworker
ClientMessageBroker
ClientMessageBrokerFactory
FnArg
MessageBus
MessageBusSink
MessageBusSource
PRIMITIVE
ReceivedMessage
ServiceMessageBroker
ServiceMessageBrokerFactory
UiArguments
WORKER_APP_LOCATION_PROVIDERS
WORKER_UI_LOCATION_PROVIDERS
WorkerAppModule
bootstrapWorkerUi()
platform-webworker
platformWorkerApp
platformWorkerUi
API: platform-browser-dynamic
BrowserDynamicTestingModule
RESOURCE_CACHE_PROVIDER
platform-browser-dynamic
platform-browser-dynamic/testing
platformBrowserDynamic
platformBrowserDynamicTesting
CLI Quickstart
CLI Quickstart
API: upgrade
Static
UpgradeAdapter
UpgradeAdapterRef
UpgradeComponent
UpgradeModule
downgradeComponent()
downgradeInjectable()
upgrade
API: platform-server
ServerModule
ServerTestingModule
platform-server
platform-server/testing
platformDynamicServer
platformServer
platformServerTesting
API: platform-webworker-dynamic
platform-webworker-dynamic
platformWorkerAppDynamic
Copyright ©2025 TypeError Powered By AnyPost, page cost 85ms.
Privacy Policy