Browse Source

Fix typos

pull/4990/head
Artur Arseniev 3 years ago
parent
commit
0a77654f52
  1. 2
      src/selector_manager/model/Selector.ts
  2. 8
      src/storage_manager/index.ts

2
src/selector_manager/model/Selector.ts

@ -21,7 +21,7 @@ export interface SelectorProps {
* @property {Number} [type=1] Type of the selector. 1 (class) | 2 (id)
* @property {Boolean} [active=true] If not active, it's not selectable by the Style Manager.
* @property {Boolean} [private=false] If true, it can't be seen by the Style Manager, but it will be rendered in the canvas and in export code.
* @property {Boolean} [protected=false] If true, it can't be removed from the attacched component.
* @property {Boolean} [protected=false] If true, it can't be removed from the attached component.
*/
export default class Selector extends Model {
defaults() {

8
src/storage_manager/index.ts

@ -21,10 +21,10 @@
*
* ## Available Events
* * `storage:start` - Before the storage request is started
* * `storage:start:store` - Before the store request. The object to store is passed as an argumnet (which you can edit)
* * `storage:start:load` - Before the load request. Items to load are passed as an argumnet (which you can edit)
* * `storage:load` - Triggered when something was loaded from the storage, loaded object passed as an argumnet
* * `storage:store` - Triggered when something is stored to the storage, stored object passed as an argumnet
* * `storage:start:store` - Before the store request. The object to store is passed as an argument (which you can edit)
* * `storage:start:load` - Before the load request. Items to load are passed as an argument (which you can edit)
* * `storage:load` - Triggered when something was loaded from the storage, loaded object passed as an argument
* * `storage:store` - Triggered when something is stored to the storage, stored object passed as an argument
* * `storage:end` - After the storage request is ended
* * `storage:end:store` - After the store request
* * `storage:end:load` - After the load request

Loading…
Cancel
Save