Skip to main content

Class: RNPlugin

Properties​

app​

• app: AppNamespace


card​

• card: CardNamespace


date​

• date: DateNamespace


editor​

• editor: EditorNamespace


event​

• event: EventNamespace


focus​

• focus: FocusNamespace


id​

• id: undefined | string


kb​

• kb: KnowledgeBaseNamespace


manifest​

• manifest: undefined | { author: string ; changelogUrl: undefined | string ; description: undefined | string ; enableOnMobile: boolean ; id: string ; manifestVersion: 1 ; minimumRemNoteVersion: undefined | { major: number; minor: number; patch: number; } ; name: string ; projectUrl: undefined | string ; repoUrl: string ; requestNative: boolean ; requiredScopes: ({ level: PluginActionPermissionLevel = PluginActionPermissionLevelSig; type: All } | { level: PluginActionPermissionLevel = PluginActionPermissionLevelSig; remName: string ; type: DescendantsOfName } | { level: PluginActionPermissionLevel = PluginActionPermissionLevelSig; remId: string ; type: DescendantsOfId } | { level: PluginActionPermissionLevel = PluginActionPermissionLevelSig; powerupCode: string ; type: Powerup } | { level: PluginActionPermissionLevel = PluginActionPermissionLevelSig; type: FocusedSubtree } | { level: PluginActionPermissionLevel = PluginActionPermissionLevelSig; type: KnowledgeBaseInfo })[] ; supportUrl: undefined | string ; theme: undefined | ("dark" | "light")[] ; unlisted: undefined | boolean ; version: { major: number; minor: number; patch: number; } = VersionSig }


messaging​

• messaging: MessagingNamespace


powerup​

• powerup: PowerupNamespace


queue​

• queue: QueueNamespace


reader​

• reader: ReaderNamespace


rem​

• rem: RemNamespace


richText​

• richText: RichTextNamespace


rootURL​

• rootURL: undefined | string


scheduler​

• scheduler: SchedulerNamespace


• search: SearchNamespace


settings​

• settings: SettingsNamespace


storage​

• storage: StorageNamespace


widget​

• widget: WidgetNamespace


window​

• window: WindowNamespace

Methods​

track​

▸ track(userFunc): () => void

Parameters​

NameType
userFunc(plugin: RNPlugin) => Promise<any>

Returns​

fn

▸ (): void

Returns​

void