Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

namespace

Obtain an object with properties of fully qualified namespace string and name of local by parsing a shorthand string "prefix:local". If the prefix does not exist in the "namespaces" object provided by d3-selection, then the local name is returned as a simple string.

function namespace(prefixedLocal: string): NamespaceLocalObject | string;
§
namespace(prefixedLocal: string): NamespaceLocalObject | string
[src]

§Parameters

§
prefixedLocal: string
[src]

A string composed of the namespace prefix and local name separated by colon, e.g. "svg:text".

§Return Type