site/node_modules/property-information/lib/xlink.js

18 lines
343 B
JavaScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
import {create} from './util/create.js'
export const xlink = create({
space: 'xlink',
transform(_, prop) {
return 'xlink:' + prop.slice(5).toLowerCase()
},
properties: {
xLinkActuate: null,
xLinkArcRole: null,
xLinkHref: null,
xLinkRole: null,
xLinkShow: null,
xLinkTitle: null,
xLinkType: null
}
})