| 1234567891011121314151617 |
- import {create} from './util/create.js'
- export const xlink = create({
- properties: {
- xLinkActuate: null,
- xLinkArcRole: null,
- xLinkHref: null,
- xLinkRole: null,
- xLinkShow: null,
- xLinkTitle: null,
- xLinkType: null
- },
- space: 'xlink',
- transform(_, property) {
- return 'xlink:' + property.slice(5).toLowerCase()
- }
- })
|