> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: getProp() ## Article: getProp() ## Article Link: https://dev.wix.com/docs/sdk/host-modules/editor/widget/get-prop.md ## Article Content: # getProp() Gets the value of the specified widget property. For widgets built with a [self-hosted custom element](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/site-extensions/site-widgets-and-plugins/add-self-hosted-site-widget-extensions-with-custom-elements.md), properties are bound to the element's attributes. ## Syntax ```js function getProp(propName: string): Promise ``` ## Parameters | Name | Type | Description | |:---------|:-----------------------------------|:-----------------------------| | `propName` | string | Name of the property that you want to get. | ## Returns `Promise` Value of the property. ## Example ```js import { widget } from '@wix/editor'; async function getWidgetProp(propName) { const response = await widget.getProp(propName); } ```