mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-24 08:50:34 +03:00
feat(ts): add microdata meta tag type (#382)
* Adding schema.org meta tag type * Changing naming
This commit is contained in:
Vendored
+7
-1
@@ -62,6 +62,12 @@ export interface MetaPropertyName extends MetaDataProperty {
|
|||||||
template?: (chunk: string) => string
|
template?: (chunk: string) => string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface MetaPropertyMicrodata extends MetaDataProperty {
|
||||||
|
itemprop: string,
|
||||||
|
content: string,
|
||||||
|
template?: (chunk: string) => string
|
||||||
|
}
|
||||||
|
|
||||||
// non-w3c interface
|
// non-w3c interface
|
||||||
export interface MetaPropertyProperty extends MetaDataProperty {
|
export interface MetaPropertyProperty extends MetaDataProperty {
|
||||||
property: string,
|
property: string,
|
||||||
@@ -123,7 +129,7 @@ export interface MetaInfo {
|
|||||||
href: string
|
href: string
|
||||||
}
|
}
|
||||||
|
|
||||||
meta?: (MetaPropertyCharset | MetaPropertyEquiv | MetaPropertyName | MetaPropertyProperty)[]
|
meta?: (MetaPropertyCharset | MetaPropertyEquiv | MetaPropertyName | MetaPropertyMicrodata | MetaPropertyProperty)[]
|
||||||
link?: LinkProperty[]
|
link?: LinkProperty[]
|
||||||
style?: StyleProperty[]
|
style?: StyleProperty[]
|
||||||
script?: (ScriptPropertyText | ScriptPropertySrc)[]
|
script?: (ScriptPropertyText | ScriptPropertySrc)[]
|
||||||
|
|||||||
Reference in New Issue
Block a user