Custom uifigure components

버전 0.1.4.0 (2.2 MB) 작성자: Antonio Hortal
A library with custom app components for Matlab
다운로드 수: 43
업데이트 날짜: 2023/5/19

WEBLAB

View Custom uifugure components on File Exchange

A tool for developing custom uifigure components in Matlab

How To UseComponentsHow To Make ChangesLicense

How To Use

To use a custom component, you will to create a Frame inside the uifigure and then insert your component into it.

% Create the uifigure
uifig = uifigure();
% Create the frame
frame = weblab.internal.Frame("Parent", uifig);
% Initialize your component
myComponent = weblab.components.MyComponent();
% Insert
frame.insert(myComponent);

Note: The inserted component will occupy the full height and width of the frame. If you want to reposition or resize it inside the figure, use the Position property of the Frame.

Components

These components are currently supported:

More to come! These are the next planned components:

  • PDF renderer
  • Interactive plots

Developing your own components

WIP

How To Make Changes

If you make changes to the Typescript source code, you will need to rebuild the project. For that, you'll first need Node.js (which comes with npm) installed on your computer.

From a terminal at the project root, type the following commands:

# Go into the HTML source folder
$ cd +weblab/source

# Install dependencies
$ npm install

Now you can make changes in the TS source code, located inside the +weblab/source/src subdirectory.

Important: Once your changes are complete, rebuild the project by running in the terminal

$ npm run build

Issues and PRs

Issues and pull requests are appreciated. I will do my best to take into account your opinions and recommendations

License

License: MIT


인용 양식

Antonio Hortal (2024). Custom uifigure components (https://github.com/LordTumnus/weblab/releases/tag/0.1.4), GitHub. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2022b
R2019b 이상 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

+weblab/+components

+weblab/+components/+mixin

+weblab/+components/+pseudo

+weblab/+event

+weblab/+event/+fromJS

+weblab/+internal

+weblab/+internal/+deprecated

+weblab/+internal/+pseudo

+weblab/+style

+weblab/+utils

+weblab/examples/deprecated/+weblab/+internal/+deprecated

demos/toolbar

버전 게시됨 릴리스 정보
0.1.4.0

See release notes for this release on GitHub: https://github.com/LordTumnus/weblab/releases/tag/0.1.4

0.1.3.0

See release notes for this release on GitHub: https://github.com/LordTumnus/weblab/releases/tag/0.1.3

0.1.2.0

See release notes for this release on GitHub: https://github.com/LordTumnus/weblab/releases/tag/0.1.2

0.1.1.0

See release notes for this release on GitHub: https://github.com/LordTumnus/weblab/releases/tag/0.1.1

0.1.0

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.