UNPKG

@ima/core

Version:

IMA.js framework for isomorphic javascript application

82 lines 2.07 kB
import { MetaManager, MetaAttributes, MetaManagerRecord, MetaValue } from './MetaManager'; /** * Default implementation of the {@link MetaManager} interface. */ export declare class MetaManagerImpl extends MetaManager { protected _title: string; protected _metaName: Map<string, MetaManagerRecord<'content'>>; protected _metaProperty: Map<string, MetaManagerRecord<'content'>>; protected _link: Map<string, MetaManagerRecord<'href'>>; static get $dependencies(): never[]; /** * Initializes the meta page attributes manager. */ constructor(); /** * @inheritDoc */ setTitle(title: string): this; /** * @inheritDoc */ getTitle(): string; /** * @inheritDoc */ setMetaName(name: string, content: MetaValue, attr?: MetaAttributes): this; /** * @inheritDoc */ getMetaName(name: string): MetaManagerRecord<'content'>; /** * @inheritDoc */ getMetaNames(): string[]; /** * @inheritDoc */ getMetaNamesIterator(): IterableIterator<[ string, MetaManagerRecord<'content'> ]>; /** * @inheritDoc */ setMetaProperty(property: string, content: MetaValue, attr?: MetaAttributes): this; /** * @inheritDoc */ getMetaProperty(property: string): MetaManagerRecord<'content'>; /** * @inheritDoc */ getMetaProperties(): string[]; /** * @inheritDoc */ getMetaPropertiesIterator(): IterableIterator<[ string, MetaManagerRecord<'content'> ]>; /** * @inheritDoc */ setLink(relation: string, href: MetaValue, attr?: MetaAttributes): this; /** * @inheritDoc */ getLink(relation: string): MetaManagerRecord<'href'>; /** * @inheritDoc */ getLinks(): string[]; /** * @inheritDoc */ getLinksIterator(): IterableIterator<[string, MetaManagerRecord<'href'>]>; /** * @inheritdoc */ clearMetaAttributes(): void; } //# sourceMappingURL=MetaManagerImpl.d.ts.map