Files
pezkuwi-ui/docs/assets/js/68.2b4a214f.js
T
2019-02-28 13:45:23 +00:00

1 line
5.7 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[68],{313:function(t,e,a){"use strict";a.r(e);var r=a(46),s=Object(r.a)({},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"type-aliases"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#type-aliases","aria-hidden":"true"}},[t._v("#")]),t._v(" Type aliases")]),t._v(" "),a("p",[a("a",{attrs:{id:"sidef"}})]),t._v(" "),a("h2",{attrs:{id:"sidef"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#sidef","aria-hidden":"true"}},[t._v("#")]),t._v(" SiDef")]),t._v(" "),a("p",[a("strong",[t._v("Ƭ SiDef")]),t._v(": "),a("em",[a("code",[t._v("object")])])]),t._v(" "),a("p",[a("em",[t._v("Defined in "),a("a",{attrs:{href:"https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-util/src/si.ts#L5",target:"_blank",rel:"noopener noreferrer"}},[t._v("si.ts:5"),a("OutboundLink")],1)])]),t._v(" "),a("h4",{attrs:{id:"type-declaration"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#type-declaration","aria-hidden":"true"}},[t._v("#")]),t._v(" Type declaration")]),t._v(" "),a("hr"),t._v(" "),a("h1",{attrs:{id:"variables"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#variables","aria-hidden":"true"}},[t._v("#")]),t._v(" Variables")]),t._v(" "),a("p",[a("a",{attrs:{id:"si"}})]),t._v(" "),a("h2",{attrs:{id:"const-si"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#const-si","aria-hidden":"true"}},[t._v("#")]),t._v(" "),a("code",[t._v("<Const>")]),t._v(" SI")]),t._v(" "),a("p",[a("strong",[t._v("● SI")]),t._v(": "),a("em",[a("code",[t._v("Array")]),t._v("<"),a("router-link",{attrs:{to:"/ui-util/modules/_si_.html#sidef"}},[t._v("SiDef")]),t._v(">")],1),t._v(" = [\n{ power: -24, value: 'y', text: 'yocto' },\n{ power: -21, value: 'z', text: 'zepto' },\n{ power: -18, value: 'a', text: 'atto' },\n{ power: -15, value: 'f', text: 'femto' },\n{ power: -12, value: 'p', text: 'pico' },\n{ power: -9, value: 'n', text: 'nano' },\n{ power: -6, value: 'µ', text: 'micro' },\n{ power: -3, value: 'm', text: 'milli' },\n{ power: 0, value: '-', text: 'Unit' }, // position 8\n{ power: 3, value: 'k', text: 'Kilo' },\n{ power: 6, value: 'M', text: 'Mega' },\n{ power: 9, value: 'G', text: 'Giga' },\n{ power: 12, value: 'T', text: 'Tera' },\n{ power: 15, value: 'P', text: 'Peta' },\n{ power: 18, value: 'E', text: 'Exa' },\n{ power: 21, value: 'Z', text: 'Zeta' },\n{ power: 24, value: 'Y', text: 'Yotta' }\n]")]),t._v(" "),a("p",[a("em",[t._v("Defined in "),a("a",{attrs:{href:"https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-util/src/si.ts#L13",target:"_blank",rel:"noopener noreferrer"}},[t._v("si.ts:13"),a("OutboundLink")],1)])]),t._v(" "),a("hr"),t._v(" "),a("p",[a("a",{attrs:{id:"si_mid"}})]),t._v(" "),a("h2",{attrs:{id:"const-si-mid"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#const-si-mid","aria-hidden":"true"}},[t._v("#")]),t._v(" "),a("code",[t._v("<Const>")]),t._v(" SI_MID")]),t._v(" "),a("p",[a("strong",[t._v("● SI_MID")]),t._v(": "),a("em",[a("code",[t._v("8")])]),t._v(" = 8")]),t._v(" "),a("p",[a("em",[t._v("Defined in "),a("a",{attrs:{href:"https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-util/src/si.ts#L11",target:"_blank",rel:"noopener noreferrer"}},[t._v("si.ts:11"),a("OutboundLink")],1)])]),t._v(" "),a("hr"),t._v(" "),a("h1",{attrs:{id:"functions"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#functions","aria-hidden":"true"}},[t._v("#")]),t._v(" Functions")]),t._v(" "),a("p",[a("a",{attrs:{id:"calcsi"}})]),t._v(" "),a("h2",{attrs:{id:"calcsi"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#calcsi","aria-hidden":"true"}},[t._v("#")]),t._v(" calcSi")]),t._v(" "),a("p",[t._v("▸ "),a("strong",[t._v("calcSi")]),t._v("(text: "),a("em",[a("code",[t._v("string")])]),t._v(", decimals: "),a("em",[a("code",[t._v("number")])]),t._v("): "),a("router-link",{attrs:{to:"/ui-util/modules/_si_.html#sidef"}},[t._v("SiDef")])],1),t._v(" "),a("p",[a("em",[t._v("Defined in "),a("a",{attrs:{href:"https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-util/src/si.ts#L33",target:"_blank",rel:"noopener noreferrer"}},[t._v("si.ts:33"),a("OutboundLink")],1)])]),t._v(" "),a("p",[a("strong",[t._v("Parameters:")])]),t._v(" "),a("table",[a("thead",[a("tr",[a("th",[t._v("Name")]),t._v(" "),a("th",[t._v("Type")])])]),t._v(" "),a("tbody",[a("tr",[a("td",[t._v("text")]),t._v(" "),a("td",[a("code",[t._v("string")])])]),t._v(" "),a("tr",[a("td",[t._v("decimals")]),t._v(" "),a("td",[a("code",[t._v("number")])])])])]),t._v(" "),a("p",[a("strong",[t._v("Returns:")]),t._v(" "),a("router-link",{attrs:{to:"/ui-util/modules/_si_.html#sidef"}},[t._v("SiDef")])],1),t._v(" "),a("hr"),t._v(" "),a("p",[a("a",{attrs:{id:"findsi"}})]),t._v(" "),a("h2",{attrs:{id:"findsi"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#findsi","aria-hidden":"true"}},[t._v("#")]),t._v(" findSi")]),t._v(" "),a("p",[t._v("▸ "),a("strong",[t._v("findSi")]),t._v("(type: "),a("em",[a("code",[t._v("string")])]),t._v("): "),a("router-link",{attrs:{to:"/ui-util/modules/_si_.html#sidef"}},[t._v("SiDef")])],1),t._v(" "),a("p",[a("em",[t._v("Defined in "),a("a",{attrs:{href:"https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-util/src/si.ts#L38",target:"_blank",rel:"noopener noreferrer"}},[t._v("si.ts:38"),a("OutboundLink")],1)])]),t._v(" "),a("p",[a("strong",[t._v("Parameters:")])]),t._v(" "),a("table",[a("thead",[a("tr",[a("th",[t._v("Name")]),t._v(" "),a("th",[t._v("Type")])])]),t._v(" "),a("tbody",[a("tr",[a("td",[t._v("type")]),t._v(" "),a("td",[a("code",[t._v("string")])])])])]),t._v(" "),a("p",[a("strong",[t._v("Returns:")]),t._v(" "),a("router-link",{attrs:{to:"/ui-util/modules/_si_.html#sidef"}},[t._v("SiDef")])],1),t._v(" "),a("hr")])},[],!1,null,null,null);e.default=s.exports}}]);