source: node_modules/property-information/lib/xlink.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 388 bytes
Line 
1'use strict'
2
3var create = require('./util/create')
4
5module.exports = create({
6 space: 'xlink',
7 transform: xlinkTransform,
8 properties: {
9 xLinkActuate: null,
10 xLinkArcRole: null,
11 xLinkHref: null,
12 xLinkRole: null,
13 xLinkShow: null,
14 xLinkTitle: null,
15 xLinkType: null
16 }
17})
18
19function xlinkTransform(_, prop) {
20 return 'xlink:' + prop.slice(5).toLowerCase()
21}
Note: See TracBrowser for help on using the repository browser.