Skip to content

pantoken / renderers/tinymce/src / getIconCdnFile

関数: getIconCdnFile()

getIconCdnFile(icon): object

アイコンのソースが与えられたときに、その CdnFile を計算します。 @pantoken/cdn の buildFileUrl で使用するために { package, path } を返します。

パラメーター

icon

TaggedIcon

戻り値

object

package

package: string

path

path: string