9.0.10076 • Published 4 years ago

@acoustic-content-sdk/component-edit v9.0.10076

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

npm

Framework independent collection of utilities to implement inline edit.

API Documentation

Home > @acoustic-content-sdk/component-edit

component-edit package

Framework independent collection of utilities to implement inline edit.

Classes

ClassDescription
AbstractInlineEditSelectionService
AbstractWchInlineEditServiceImplementation of the `WchInlineEditServiceV2 that loads the inline edit library and allows to attach to that library.

Functions

FunctionDescription
getInlineEditSelection(aDocument, aLogSvc)

Variables

VariableDescription
EMPTY_ACOUSTIC_INLINE_EDIT_SERVICE
VERSIONVersion and build number of the package

Home > @acoustic-content-sdk/component-edit > AbstractInlineEditSelectionService

AbstractInlineEditSelectionService class

Signature:

export declare class AbstractInlineEditSelectionService implements Unsubscribable 

Constructors

ConstructorModifiersDescription
(constructor)(aSelectedClass, aSelectionProvider, aDocument, aLogSvc)Constructs a new instance of the AbstractInlineEditSelectionService class

Methods

MethodModifiersDescription
unsubscribe()

Home > @acoustic-content-sdk/component-edit > AbstractWchInlineEditService

AbstractWchInlineEditService class

Implementation of the `WchInlineEditServiceV2 that loads the inline edit library and allows to attach to that library.

Signature:

export declare class AbstractWchInlineEditService implements WchInlineEditServiceV2, Unsubscribable 

Constructors

ConstructorModifiersDescription
(constructor)(aEventConsumer, aProvider$, aUrlConfig$, aDocument, aLogSvc)Constructs a new instance of the AbstractWchInlineEditService class

Properties

PropertyModifiersTypeDescription
done$Subject<any>
fromEvent<T>(aName: string) => Observable<T>
registerComponent(nativeElement: any, accessor: AccessorType, renderingContext$: Observable<RenderingContextV2>) => Observable<EventTargetLike>

Methods

MethodModifiersDescription
unsubscribe()

Home > @acoustic-content-sdk/component-edit > getInlineEditSelection

getInlineEditSelection() function

Signature:

export declare function getInlineEditSelection(aDocument: Document, aLogSvc?: LoggerService): Observable<string>;

Parameters

ParameterTypeDescription
aDocumentDocument
aLogSvcLoggerService

Returns:

Observable<string>

Home > @acoustic-content-sdk/component-edit > EMPTY_ACOUSTIC_INLINE_EDIT_SERVICE

EMPTY_ACOUSTIC_INLINE_EDIT_SERVICE variable

Signature:

EMPTY_ACOUSTIC_INLINE_EDIT_SERVICE: WchInlineEditServiceV2

Home > @acoustic-content-sdk/component-edit > VERSION

VERSION variable

Version and build number of the package

Signature:

VERSION: {
    version: {
        major: string;
        minor: string;
        patch: string;
        branch: string;
    };
    build: Date;
}

Home > @acoustic-content-sdk/component-edit > AbstractInlineEditSelectionService > (constructor)

AbstractInlineEditSelectionService.(constructor)

Constructs a new instance of the AbstractInlineEditSelectionService class

Signature:

constructor(aSelectedClass: string, aSelectionProvider: InlineEditSelectionProvider, aDocument?: any, aLogSvc?: LoggerService);

Parameters

ParameterTypeDescription
aSelectedClassstring
aSelectionProviderInlineEditSelectionProvider
aDocumentany
aLogSvcLoggerService

Home > @acoustic-content-sdk/component-edit > AbstractInlineEditSelectionService > unsubscribe

AbstractInlineEditSelectionService.unsubscribe() method

Signature:

unsubscribe(): void;

Returns:

void

Home > @acoustic-content-sdk/component-edit > AbstractWchInlineEditService > (constructor)

AbstractWchInlineEditService.(constructor)

Constructs a new instance of the AbstractWchInlineEditService class

Signature:

protected constructor(aEventConsumer: Consumer<WchInlineEditEvent>, aProvider$: Observable<WchInlineEditProviderV2>, aUrlConfig$: Observable<UrlConfig>, aDocument?: any, aLogSvc?: LoggerService);

Parameters

ParameterTypeDescription
aEventConsumerConsumer<WchInlineEditEvent>
aProvider$Observable<WchInlineEditProviderV2>
aUrlConfig$Observable<UrlConfig>
aDocumentany
aLogSvcLoggerService

Home > @acoustic-content-sdk/component-edit > AbstractWchInlineEditService > done$

AbstractWchInlineEditService.done$ property

Signature:

protected readonly done$: Subject<any>;

Home > @acoustic-content-sdk/component-edit > AbstractWchInlineEditService > fromEvent

AbstractWchInlineEditService.fromEvent property

Signature:

fromEvent: <T>(aName: string) => Observable<T>;

Home > @acoustic-content-sdk/component-edit > AbstractWchInlineEditService > registerComponent

AbstractWchInlineEditService.registerComponent property

Signature:

registerComponent: (nativeElement: any, accessor: AccessorType, renderingContext$: Observable<RenderingContextV2>) => Observable<EventTargetLike>;

Home > @acoustic-content-sdk/component-edit > AbstractWchInlineEditService > unsubscribe

AbstractWchInlineEditService.unsubscribe() method

Signature:

unsubscribe(): void;

Returns:

void

9.0.10076

4 years ago

9.0.10067

4 years ago

9.0.10040

4 years ago

9.0.10034

4 years ago

9.0.495

4 years ago

9.0.493

4 years ago

9.0.462

4 years ago

9.0.407

4 years ago

9.0.384

4 years ago

9.0.361

4 years ago

9.0.360

4 years ago

9.0.271

4 years ago

9.0.270

4 years ago

9.0.251

4 years ago

9.0.242

4 years ago

9.0.216

4 years ago

9.0.209

4 years ago

9.0.89

4 years ago

9.0.30

4 years ago