PageSourceSearch

https://touying-typ.github.io/assets/js/469b184e.f86e6870.js

js touying-typ.github.io collected 2026-10-03 10:08:07 UTC 4,305 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5457],{36276:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>o,contentTitle:()=>a,default:()=>p,frontMatter:()=>s,metadata:()=>d,toc:()=>c});var n=i(85893),t=i(11151);const s={sidebar_position:30,description:"Fades already revealed items with a progressive fade.",toc_max_heading_level:2},a="past-progressive-faded",d={id:"reference/core/past-progressive-faded",title:"past-progressive-faded",description:"Fades already revealed items with a progressive fade.",source:"@site/docs/reference/core/past-progressive-faded.mdx",sourceDirName:"reference/core",slug:"/reference/core/past-progressive-faded",permalink:"/docs/reference/core/past-progressive-faded",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:30,frontMatter:{sidebar_position:30,description:"Fades already revealed items with a progressive fade.",toc_max_heading_level:2},sidebar:"tutorialSidebar",previous:{title:"past-faded",permalink:"/docs/reference/core/past-faded"},next:{title:"item-by-item-functions",permalink:"/docs/reference/core/item-by-item-functions"}},o={},c=[{value:"time : <TypeLink></TypeLink>",id:"time",level:3},{value:"it : <TypeLink></TypeLink>",id:"it",level:3},{value:"alpha : <TypeLink></TypeLink> <Default><code>(linear: 30%)</code></Default>",id:"alpha",level:3}];function l(e){const r={a:"a",code:"code",h1:"h1",h3:"h3",p:"p",strong:"strong",...(0,t.a)(),...e.components},{Default:i,Param:s,Parameters:a,Signature:d,SignatureName:o,SignatureParam:c,SourceLink:l,TypeLink:p}=r;return i||h("Default",!0),s||h("Param",!0),a||h("Parameters",!0),d||h("Signature",!0),o||h("SignatureName",!0),c||h("SignatureParam",!0),l||h("SourceLink",!0),p||h("TypeLink",!0),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h1,{id:"past-progressive-faded",children:"past-progressive-faded"}),"\n",(0,n.jsx)(d,{children:(0,n.jsxs)("code",{children:[(0,n.jsx)(o,{children:"past-progressive-faded"}),"(",(0,n.jsxs)(c,{children:[(0,n.jsx)(r.a,{href:"#time",children:"time"}),", "]}),(0,n.jsxs)(c,{children:[(0,n.jsx)(r.a,{href:"#it",children:"it"}),", "]}),(0,n.jsx)(c,{children:(0,n.jsx)(r.a,{href:"#alpha",children:"alpha: (linear: 30%)"})}),")",(0,n.jsx)(l,{href:"https://github.com/touying-typ/touying/blob/main/src/core.typ#L2350"})]})}),"\n",(0,n.jsxs)(r.p,{children:["Fades already revealed items with a progressive fade. You may pass it an optional ",(0,n.jsx)(r.code,{children:"alpha"})," dict. Possible keys are ",(0,n.jsx)(r.code,{children:"linear"})," and ",(0,n.jsx)(r.code,{children:"exponential"})," for linear and exponential fading, respectively. The value is the fading speed. Default is ",(0,n.jsx)(r.code,{children:"(linear: 30%)"}),"."]}),"\n",(0,n.jsxs)(a,{children:[(0,n.jsxs)(r.h3,{id:"time",children:["time : ",(0,n.jsx)(p,{type:"int"})]}),(0,n.jsx)(s,{children:(0,n.jsx)(r.p,{children:"The relative subslide index passed by item-by-item-fn."})}),(0,n.jsxs)(r.h3,{id:"it",children:["it : ",(0,n.jsx)(p,{type:"content"})]}),(0,n.jsx)(s,{children:(0,n.jsx)(r.p,{children:"The item passed by item-by-item-fn."})}),(0,n.jsxs)(r.h3,{id:"alpha",children:["alpha : ",(0,n.jsx)(p,{type:"dictionary"})," ",(0,n.jsx)(i,{children:(0,n.jsx)(r.code,{children:"(linear: 30%)"})})]}),(0,n.jsx)(s,{children:(0,n.jsxs)(r.p,{children:["The fade speed and type, higher means faster fading. Either ",(0,n.jsx)(r.code,{children:"(linear: <value>)"})," or ",(0,n.jsx)(r.code,{children:"(exponential: <value>)"}),".  Default is ",(0,n.jsx)(r.code,{children:"(linear: 30%)"}),"."]})})]}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"Returns:"})," ",(0,n.jsx)(p,{type:"content"})]})]})}function p(e={}){const{wrapper:r}={...(0,t.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}function h(e,r){throw new Error("Expected "+(r?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},11151:(e,r,i)=>{i.d(r,{Z:()=>d,a:()=>a});var n=i(67294);const t={},s=n.createContext(t);function a(e){const r=n.useContext(s);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function d(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:a(e.components),n.createElement(s.Provider,{value:r},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.