mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-27 18:43:30 +08:00
[DE mobile] Added store for link settings
This commit is contained in:
16
apps/documenteditor/mobile/src/store/linkSettings.js
Normal file
16
apps/documenteditor/mobile/src/store/linkSettings.js
Normal file
@ -0,0 +1,16 @@
|
||||
import {action, observable, makeObservable} from 'mobx';
|
||||
|
||||
export class storeLinkSettings {
|
||||
constructor() {
|
||||
makeObservable(this, {
|
||||
canAddLink: observable,
|
||||
canAddHyperlink: action
|
||||
});
|
||||
}
|
||||
|
||||
canAddLink;
|
||||
|
||||
canAddHyperlink (value) {
|
||||
this.canAddLink = value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user